home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / riap260x.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  159.5 KB  |  4,420 lines

  1. *%
  2. *%  Core GPD file for Ricoh PCL6 printer
  3. *%    FileName: RIAP260X.GPD
  4. *%    Created:  2000/08/08
  5. *%    Modified: 2002/07/06
  6. *%
  7. *%    Copyright (c) 1999 - 2002  Microsoft Corp. & Ricoh Co., Ltd.
  8. *%    All rights reserved.
  9. *%
  10. *GPDFileVersion: "1.232"
  11. *Ifdef: RI_PCLXL
  12. *Include: "PCLXL.GPD"
  13. *Include: "P6FONT.GPD"
  14. *Personality: =PERSONALITY_PCLXL
  15. *ResourceDLL: "PCLXL.DLL"
  16. *Else:  *%%% !RI_PCLXL
  17. *ResourceDLL: "RIAFRES.DLL"
  18. *Endif: *%%% !RI_PCLXL
  19.  
  20. *HelpFile: "RIAFUI.HLP"
  21. *Include: "TTFSUB.GPD"
  22. *Include: "RIAF6MAC.GPD"
  23. *MasterUnits: PAIR(1200, 1200)
  24. *PrinterType: PAGE
  25. *MaxCopies: 999
  26. *rcInstalledOptionNameID: =RC_STR_INSTALLED
  27. *rcNotInstalledOptionNameID: =RC_STR_NOTINSTALLED
  28.  
  29. *%======== Quality Macros ========
  30. *Ifdef: RI_PCLXL
  31. *BestQualitySettings: LIST(Resolution.1200dpi, PrintQuality.SmoothingOff)
  32. *BetterQualitySettings: LIST(Resolution.600dpi, PrintQuality.SmoothingOff)
  33. *DraftQualitySettings: LIST(Resolution.300dpi, PrintQuality.SmoothingOn)
  34. *Else:  *%%% !RI_PCLXL
  35. *BetterQualitySettings: LIST(Resolution.600dpi, PrintQuality.SmoothingOff, Halftone.HT_PATSIZE_8x8_M)
  36. *DraftQualitySettings: LIST(Resolution.300dpi, PrintQuality.SmoothingOn, Halftone.HT_PATSIZE_6x6_M)
  37. *Endif: *%%% !RI_PCLXL
  38. *DefaultQuality: BETTERQUALITY
  39.  
  40. *%======== Memory (CONCEALED) ========
  41. *Feature: Memory
  42. {
  43.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  44.     *ConcealFromUI?: TRUE
  45.     *DefaultOption: 32768KB
  46.     *Option: 32768KB
  47.     {
  48.         *Name: "32MB"
  49.         *MemoryConfigKB: PAIR(32768, 28350)
  50.     }
  51. }
  52.  
  53. *%======== Memory & Hard Disk (installable option) ========
  54. *Feature: Memory_HardDisk
  55. {
  56.     *rcNameID: =RC_STR_MEMORY_HARDDISK
  57.     *FeatureType: PRINTER_PROPERTY
  58.     *DefaultOption: 32MB_NotInstalled
  59.     *Option: 32MB_NotInstalled
  60.     {
  61.         *rcNameID: =RC_STR_32MB_NOTINSTALLED
  62.         *DisabledFeatures: LIST(Collate)
  63.     }
  64.     *Option: 32MB_Installed
  65.     {
  66.         *rcNameID: =RC_STR_32MB_INSTALLED
  67.     }
  68.     *Option: 96MB_NotInstalled
  69.     {
  70.         *rcNameID: =RC_STR_96MB_NOTINSTALLED
  71.     }
  72.     *Option: 96MB_Installed
  73.     {
  74.         *rcNameID: =RC_STR_96MB_INSTALLED
  75.     }
  76. }
  77.  
  78. *%======== Duplex Unit (installable option) ========
  79. *Feature: DuplexUnit
  80. {
  81.     *rcNameID: =RC_STR_DUPLEX_UNIT
  82.     *FeatureType: PRINTER_PROPERTY
  83.     *DefaultOption: NotInstalled
  84.     *Option: NotInstalled
  85.     {
  86.         *rcNameID: =RC_STR_NOTINSTALLED
  87.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  88.         *DisabledFeatures: LIST(Duplex)
  89.     }
  90.     *Option: Installed
  91.     {
  92.         *rcNameID: =RC_STR_INSTALLED
  93.     }
  94. }
  95.  
  96. *%======== Upper Output Tray (installable option) ========
  97. *Feature: UpperTray
  98. {
  99.     *rcNameID: =RC_STR_UPPER_TRAY
  100.     *FeatureType: PRINTER_PROPERTY
  101.     *DefaultOption: NotInstalled
  102.     *Option: NotInstalled
  103.     {
  104.         *rcNameID: =RC_STR_NOTINSTALLED
  105.         *Constraints: OutputBin.UpperTray
  106.     }
  107.     *Option: Installed
  108.     {
  109.         *rcNameID: =RC_STR_INSTALLED
  110.     }
  111. }
  112.  
  113. *%======== Mailbox (installable option) ========
  114. *Feature: Mailbox
  115. {
  116.     *rcNameID: =RC_STR_MAILBOX
  117.     *FeatureType: PRINTER_PROPERTY
  118.     *DefaultOption: NotInstalled
  119.     *Option: NotInstalled
  120.     {
  121.         *rcNameID: =RC_STR_NOTINSTALLED
  122.         *Constraints: OutputBin.OutputBin1
  123.         *Constraints: OutputBin.OutputBin2
  124.         *Constraints: OutputBin.OutputBin3
  125.         *Constraints: OutputBin.OutputBin4
  126.     }
  127.     *Option: Installed
  128.     {
  129.         *rcNameID: =RC_STR_INSTALLED
  130.     }
  131. }
  132. *InvalidCombination: LIST(UpperTray.Installed, Mailbox.Installed)
  133.  
  134. *%======== Orientation ========
  135. *Feature: Orientation
  136. {
  137.     *rcNameID: =ORIENTATION_DISPLAY
  138.     *DefaultOption: PORTRAIT
  139.     *Option: PORTRAIT
  140.     {
  141.         *rcNameID: =PORTRAIT_DISPLAY
  142.     }
  143.     *Option: LANDSCAPE_CC90
  144.     {
  145.         *rcNameID: =LANDSCAPE_DISPLAY
  146.     }
  147. }
  148.  
  149. *%======== Duplex ========
  150. *Feature: Duplex
  151. {
  152.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  153.     *DefaultOption: NONE
  154.     *Option: NONE
  155.     {
  156.         *rcNameID: =NONE_DISPLAY
  157.         *Command: CmdSelect
  158.         {
  159.             *Order: =PJL_SETUP_15
  160.             *Cmd: "@PJL SET DUPLEX=OFF<0A>"
  161.         }
  162.     }
  163.     *Option: VERTICAL
  164.     {
  165.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  166.         *Command: CmdSelect
  167.         {
  168.             *Order: =PJL_SETUP_15
  169.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=LONGEDGE<0A>"
  170.         }
  171.     }
  172.     *Option: HORIZONTAL
  173.     {
  174.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  175.         *Command: CmdSelect
  176.         {
  177.             *Order: =PJL_SETUP_15
  178.             *Cmd: "@PJL SET DUPLEX=ON<0A>@PJL SET BINDING=SHORTEDGE<0A>"
  179.         }
  180.     }
  181. }
  182.  
  183. *%======== OutputBin ========
  184. *Feature: OutputBin
  185. {
  186.     *rcNameID: =OUTPUTBIN_DISPLAY
  187.     *HelpIndex: =HLP_OUTPUTBIN
  188.     *DefaultOption: PrinterDefault
  189.     *Option: PrinterDefault
  190.     {
  191.         *rcNameID: =RC_STR_PRINTER_DEFAULT
  192.     }
  193.     *Option: StandardTray
  194.     {
  195.         *rcNameID: =RC_STR_STANDARD_TRAY
  196.         *switch: Mailbox
  197.         {
  198.             *case: NotInstalled
  199.             {
  200.                 *Command: CmdSelect
  201.                 {
  202.                     *Order: =PJL_SETUP_40
  203.                     *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  204.                 }
  205.             }
  206.             *case: Installed
  207.             {
  208.                 *Command: CmdSelect
  209.                 {
  210.                     *Order: =PJL_SETUP_40
  211.                     *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN1<0A>"
  212.                 }
  213.             }
  214.         }
  215.     }
  216.     *Option: UpperTray
  217.     {
  218.         *rcNameID: =RC_STR_UPPER_TRAY
  219.         *Command: CmdSelect
  220.         {
  221.             *Order: =PJL_SETUP_40
  222.             *Cmd: "@PJL SET OUTBIN=INNER<0A>"
  223.         }
  224.     }
  225.     *Option: OutputBin1
  226.     {
  227.         *rcNameID: =RC_STR_MAILBOX_TRAY1
  228.         *Command: CmdSelect
  229.         {
  230.             *Order: =PJL_SETUP_40
  231.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN2<0A>"
  232.         }
  233.     }
  234.     *Option: OutputBin2
  235.     {
  236.         *rcNameID: =RC_STR_MAILBOX_TRAY2
  237.         *Command: CmdSelect
  238.         {
  239.             *Order: =PJL_SETUP_40
  240.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN3<0A>"
  241.         }
  242.     }
  243.     *Option: OutputBin3
  244.     {
  245.         *rcNameID: =RC_STR_MAILBOX_TRAY3
  246.         *Command: CmdSelect
  247.         {
  248.             *Order: =PJL_SETUP_40
  249.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN4<0A>"
  250.         }
  251.     }
  252.     *Option: OutputBin4
  253.     {
  254.         *rcNameID: =RC_STR_MAILBOX_TRAY4
  255.         *Command: CmdSelect
  256.         {
  257.             *Order: =PJL_SETUP_40
  258.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTPUTBIN5<0A>"
  259.         }
  260.     }
  261. }
  262.  
  263. *%======== Collate ========
  264. *Feature: Collate
  265. {
  266.     *Name: "Collated"       *%%% This string isn't used in UI.
  267.     *DefaultOption: OFF
  268.     *Option: ON
  269.     {
  270.         *rcNameID: =ON_DISPLAY
  271.         *Command: CmdSelect
  272.         {
  273.             *Order: =PJL_SETUP_50
  274.             *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>@PJL SET JOBOFFSET=OFF<0A>"
  275.         }
  276.     }
  277.     *Option: OFF
  278.     {
  279.         *rcNameID: =OFF_DISPLAY
  280.         *Command: CmdSelect
  281.         {
  282.             *Order: =PJL_SETUP_50
  283. *%          *Cmd: "@PJL SET JOBOFFSET=OFF<0A>"
  284.             *CallbackID: =CMD_COLLATE_JOBOFFSET_OFF
  285.             *Params: LIST(NumOfCopies)
  286.         }
  287.     }
  288. }
  289.  
  290. *%======== Edge to Edge Print (custom feature) ========
  291. *Feature: EdgeToEdgePrint
  292. {
  293. *Ifdef: USE_QUOTED_STRING
  294.     *Name: "Edge to Edge Print"
  295. *Else:
  296.     *rcNameID: =RC_STR_EDGE_TO_EDGE_PRINT
  297. *Endif:
  298.     *HelpIndex: =HLP_EDGE_TO_EDGE_PRINT
  299. *Ifdef: RI_EDGETOEDGE_MODEL
  300.     *ConcealFromUI?: FALSE
  301. *Else:  *%%% !RI_EDGETOEDGE_MODEL
  302.     *ConcealFromUI?: TRUE
  303. *Endif: *%%% !RI_EDGETOEDGE_MODEL
  304.     *DefaultOption: OFF
  305.     *Option: OFF
  306.     {
  307.         *rcNameID: =OFF_DISPLAY
  308. *Ifdef: RI_EDGETOEDGE_MODEL
  309.         *Command: CmdSelect
  310.         {
  311.             *Order: =PJL_SETUP_120
  312.             *Cmd: "@PJL SET EDGETOEDGE=NO<0A>"
  313.         }
  314. *Endif: *%%% RI_EDGETOEDGE_MODEL
  315.     }
  316.     *Option: ON
  317.     {
  318.         *rcNameID: =ON_DISPLAY
  319.         *Command: CmdSelect
  320.         {
  321.             *Order: =PJL_SETUP_120
  322.             *Cmd: "@PJL SET EDGETOEDGE=YES<0A>"
  323.         }
  324.     }
  325. }
  326.  
  327. *%======== PrintQuality ========
  328. *Feature: PrintQuality
  329. {
  330.     *rcNameID: =TEXT_QUALITY_DISPLAY
  331.     *HelpIndex: =HLP_TEXT_QUALITY
  332.     *DefaultOption: SmoothingOff
  333.     *Option: SmoothingOff
  334.     {
  335.         *rcNameID: =RC_STR_EDGE_SMOOTHING_OFF
  336.         *Command: CmdSelect
  337.         {
  338.             *Order: =PJL_SETUP_20
  339.             *Cmd: "@PJL SET SMOOTHING=OFF<0A>"
  340.         }
  341.     }
  342.     *Option: SmoothingOn
  343.     {
  344.         *rcNameID: =RC_STR_EDGE_SMOOTHING_ON
  345.         *Command: CmdSelect
  346.         {
  347.             *Order: =PJL_SETUP_20
  348.             *Cmd: "@PJL SET SMOOTHING=ON<0A>"
  349.         }
  350.     }
  351. }
  352.  
  353. *%======== PrintDensity ========
  354. *Feature: PrintDensity
  355. {
  356.     *rcNameID: =PRINTDENSITY_DISPLAY
  357.     *HelpIndex: =HLP_PRINTDENSITY
  358.     *DefaultOption: EconomodeOff
  359.     *Option: EconomodeOff
  360.     {
  361.         *rcNameID: =RC_STR_TONER_SAVER_OFF
  362.         *Command: CmdSelect
  363.         {
  364.             *Order: =PJL_SETUP_30
  365.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  366.         }
  367.     }
  368.     *Option: EconomodeOn
  369.     {
  370.         *rcNameID: =RC_STR_TONER_SAVER_ON
  371.         *Command: CmdSelect
  372.         {
  373.             *Order: =PJL_SETUP_30
  374.             *Cmd: "@PJL SET SMOOTHING=OFF<0A>@PJL SET ECONOMODE=ON<0A>"
  375.         }
  376.     }
  377. }
  378.  
  379.  
  380. *Ifdef: RI_PCLXL
  381. %======== Resolution (PCL XL) ========
  382. *Feature: Resolution
  383. {
  384.     *rcNameID: =RESOLUTION_DISPLAY
  385.     *DefaultOption: 600dpi
  386.     *Option: 1200dpi
  387.     {
  388.         *rcNameID: =RC_STR_1200DPI
  389.         *DPI: PAIR(1200, 1200)
  390.         *TextDPI: PAIR(1200, 1200)
  391.         *MinStripBlankPixels: 32
  392.         EXTERN_GLOBAL: *MaxFontID: 16
  393.         EXTERN_GLOBAL: *StripBlanks: LIST(LEADING, ENCLOSED,TRAILING)
  394.         *SpotDiameter: 100
  395.         *Command: CmdBeginRaster { *Cmd : =PCLXL_CmdBeginRaster }
  396.         *Command: CmdSendBlockData { *Cmd : =PCLXL_CmdBeginRaster =PCLXL_CmdSendBlockData }
  397.         *Command: CmdEndBlockData { *Cmd : =EndImage }
  398.         *Command: CmdSelect
  399.         {
  400.             *Order: =PJL_SETUP_LAST
  401.             *Cmd: =PJL_RESOLUTION_1200 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession1200 =PCLXL_OpenDataSource
  402.         }
  403.     }
  404.     *Option: 600dpi
  405.     {
  406.         *rcNameID: =RC_STR_600DPI
  407.         *DPI: PAIR(600, 600)
  408.         *TextDPI: PAIR(600, 600)
  409.         *MinStripBlankPixels: 32
  410.         EXTERN_GLOBAL: *MaxFontID: 65535
  411.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  412.         *SpotDiameter: 100
  413.         *Command: CmdBeginRaster { *Cmd : =PCLXL_CmdBeginRaster }
  414.         *Command: CmdEndRaster { *Cmd : =EndImage }
  415.         *Command: CmdSendBlockData { *Cmd: =PCLXL_CmdSendBlockData }
  416.         *Command: CmdSelect
  417.         {
  418.             *Order: =PJL_SETUP_LAST
  419.             *Cmd: =PJL_RESOLUTION_600 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession600 =PCLXL_OpenDataSource
  420.         }
  421.     }
  422.     *Option: 300dpi
  423.     {
  424.         *rcNameID: =RC_STR_300DPI
  425.         *DPI: PAIR(300, 300)
  426.         *TextDPI: PAIR(300, 300)
  427.         *MinStripBlankPixels: 32
  428.         EXTERN_GLOBAL: *MaxFontID: 65535
  429.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  430.         *SpotDiameter: 100
  431.         *Command: CmdBeginRaster { *Cmd : =PCLXL_CmdBeginRaster }
  432.         *Command: CmdEndRaster { *Cmd : =EndImage }
  433.         *Command: CmdSendBlockData { *Cmd: =PCLXL_CmdSendBlockData }
  434.         *Command: CmdSelect
  435.         {
  436.             *Order: =PJL_SETUP_LAST
  437.             *Cmd: =PJL_RESOLUTION_300 =PJL_ENTER_PCLXL =PCLXL_StreamHeader =PCLXL_BeginSession300 =PCLXL_OpenDataSource
  438.         }
  439.     }
  440. }
  441.  
  442. *%======== InputBin (PCL XL) ========
  443. *Feature: InputBin
  444. {
  445.     *rcNameID: =PAPER_SOURCE_DISPLAY
  446. *%  On Win2000 "Automatically Select" string is disappered by the following.
  447. *%  *HelpIndex: =HLP_PAPER_SOURCE
  448.     *DefaultOption: AUTO
  449.     *Option: AUTO
  450.     {
  451.         *rcNameID: =RC_STR_AUTO_SELECT_BY_PRINTER
  452.         *Command: CmdSelect
  453.         {
  454.             *Order: PAGE_SETUP.10
  455.             *NoPageEject?: TRUE
  456.             *Cmd: =ubyte =RI_eAutoSelect =attr_ubyte =MediaSource
  457.         }
  458.     }
  459.     *Option: BypassTray
  460.     {
  461.         *rcNameID: =RC_STR_BYPASS_TRAY
  462.         *OptionID: =RI_DMBIN_BYPASS_TRAY
  463.         *Command: CmdSelect
  464.         {
  465.             *Order: PAGE_SETUP.10
  466.             *NoPageEject?: TRUE
  467.             *Cmd: =ubyte =RI_eManualFeed =attr_ubyte =MediaSource
  468.         }
  469.     }
  470.     *Option: Tray1
  471.     {
  472.         *rcNameID: =RC_STR_TRAY1
  473.         *OptionID: =RI_DMBIN_TRAY1
  474.         *Command: CmdSelect
  475.         {
  476.             *Order: PAGE_SETUP.10
  477.             *NoPageEject?: TRUE
  478.             *Cmd: =ubyte =RI_eUpperCassette =attr_ubyte =MediaSource
  479.         }
  480.     }
  481.     *Option: Tray2
  482.     {
  483.         *rcNameID: =RC_STR_TRAY2
  484.         *OptionID: =RI_DMBIN_TRAY2
  485.         *Installable?: TRUE
  486.         *rcInstallableFeatureNameID: =RC_STR_TRAY2
  487.         *Command: CmdSelect
  488.         {
  489.             *Order: PAGE_SETUP.10
  490.             *NoPageEject?: TRUE
  491.             *Cmd: =ubyte =RI_eLowerCassette =attr_ubyte =MediaSource
  492.         }
  493.     }
  494.     *Option: Tray3
  495.     {
  496.         *rcNameID: =RC_STR_TRAY3
  497.         *OptionID: =RI_DMBIN_TRAY3
  498.         *Installable?: TRUE
  499.         *rcInstallableFeatureNameID: =RC_STR_TRAY3
  500.         *Command: CmdSelect
  501.         {
  502.             *Order: PAGE_SETUP.10
  503.             *NoPageEject?: TRUE
  504.             *Cmd: =ubyte =RI_eThirdCassette =attr_ubyte =MediaSource
  505.         }
  506.     }
  507. }
  508.  
  509. *%======== MediaType (PCL XL) ========
  510. *Feature: MediaType
  511. {
  512.     *rcNameID: =MEDIA_TYPE_DISPLAY
  513.     *HelpIndex: =HLP_MEDIA_TYPE
  514.     *DefaultOption: Auto
  515.     *Option: Auto
  516.     {
  517.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  518.     }
  519.     *Option: STANDARD
  520.     {
  521. *Ifdef: USE_QUOTED_STRING
  522.         *Name: "Plain"
  523. *Else:
  524.         *rcNameID: =RC_STR_PLAIN
  525. *Endif:
  526.         *Command: CmdSelect
  527.         {
  528.             *Order: PAGE_SETUP.15
  529.             *Cmd: =ubyte_array =uint16 "<0500>" =RI_ePlain =attr_ubyte =MediaType
  530.         }
  531.     }
  532.     *Option: Recycled
  533.     {
  534. *Ifdef: USE_QUOTED_STRING
  535.         *Name: "Recycled"
  536. *Else:
  537.         *rcNameID: =RC_STR_RECYCLED
  538. *Endif:
  539.         *Command: CmdSelect
  540.         {
  541.             *Order: PAGE_SETUP.15
  542.             *Cmd: =ubyte_array =uint16 "<0800>" =RI_eRecycled =attr_ubyte =MediaType
  543.         }
  544.     }
  545.     *Option: Special
  546.     {
  547. *Ifdef: USE_QUOTED_STRING
  548.         *Name: "Special"
  549. *Else:
  550.         *rcNameID: =RC_STR_SPECIAL
  551. *Endif:
  552.         *Command: CmdSelect
  553.         {
  554.             *Order: PAGE_SETUP.15
  555.             *Cmd: =ubyte_array =uint16 "<0700>" =RI_eSpecial =attr_ubyte =MediaType
  556.         }
  557.     }
  558.     *Option: Thick
  559.     {
  560. *Ifdef: USE_QUOTED_STRING
  561.         *Name: "Thick"
  562. *Else:
  563.         *rcNameID: =RC_STR_THICK
  564. *Endif:
  565.         *Command: CmdSelect
  566.         {
  567.             *Order: PAGE_SETUP.15
  568.             *Cmd: =ubyte_array =uint16 "<0500>" =RI_eThick =attr_ubyte =MediaType
  569.         }
  570.     }
  571.     *Option: TRANSPARENCY
  572.     {
  573.         *rcNameID: =TRANSPARENCY_DISPLAY
  574.         *Command: CmdSelect
  575.         {
  576.             *Order: PAGE_SETUP.15
  577.             *Cmd: =ubyte_array =uint16 "<0c00>" =RI_eTransparency =attr_ubyte =MediaType
  578.         }
  579.     }
  580.     *Option: Color
  581.     {
  582. *Ifdef: USE_QUOTED_STRING
  583.         *Name: "Color"
  584. *Else:
  585.         *rcNameID: =RC_STR_COLOR
  586. *Endif:
  587.         *Command: CmdSelect
  588.         {
  589.             *Order: PAGE_SETUP.15
  590.             *Cmd: =ubyte_array =uint16 "<0500>" =RI_eColor =attr_ubyte =MediaType
  591.         }
  592.     }
  593.     *Option: Letterhead
  594.     {
  595. *Ifdef: USE_QUOTED_STRING
  596.         *Name: "Letterhead"
  597. *Else:
  598.         *rcNameID: =RC_STR_LETTERHEAD
  599. *Endif:
  600.         *Command: CmdSelect
  601.         {
  602.             *Order: PAGE_SETUP.15
  603.             *Cmd: =ubyte_array =uint16 "<0a00>" =RI_eLetterhead =attr_ubyte =MediaType
  604.         }
  605.     }
  606.     *Option: Preprinted
  607.     {
  608. *Ifdef: USE_QUOTED_STRING
  609.         *Name: "Preprinted"
  610. *Else:
  611.         *rcNameID: =RC_STR_PREPRINTED
  612. *Endif:
  613.         *Command: CmdSelect
  614.         {
  615.             *Order: PAGE_SETUP.15
  616.             *Cmd: =ubyte_array =uint16 "<0a00>" =RI_ePreprinted =attr_ubyte =MediaType
  617.         }
  618.     }
  619.     *Option: Prepunched
  620.     {
  621. *Ifdef: USE_QUOTED_STRING
  622.         *Name: "Prepunched"
  623. *Else:
  624.         *rcNameID: =RC_STR_PREPUNCHED
  625. *Endif:
  626.         *Command: CmdSelect
  627.         {
  628.             *Order: PAGE_SETUP.15
  629.             *Cmd: =ubyte_array =uint16 "<0a00>" =RI_ePrepunched =attr_ubyte =MediaType
  630.         }
  631.     }
  632.     *Option: Labels
  633.     {
  634. *Ifdef: USE_QUOTED_STRING
  635.         *Name: "Labels"
  636. *Else:
  637.         *rcNameID: =RC_STR_LABELS
  638. *Endif:
  639.         *Command: CmdSelect
  640.         {
  641.             *Order: PAGE_SETUP.15
  642.             *Cmd: =ubyte_array =uint16 "<0600>" =RI_eLabels =attr_ubyte =MediaType
  643.         }
  644.     }
  645.     *Option: Bond
  646.     {
  647. *Ifdef: USE_QUOTED_STRING
  648.         *Name: "Bond"
  649. *Else:
  650.         *rcNameID: =RC_STR_BOND
  651. *Endif:
  652.         *Command: CmdSelect
  653.         {
  654.             *Order: PAGE_SETUP.15
  655.             *Cmd: =ubyte_array =uint16 "<0400>" =RI_eBond =attr_ubyte =MediaType
  656.         }
  657.     }
  658.     *Option: Cardstock
  659.     {
  660. *Ifdef: USE_QUOTED_STRING
  661.         *Name: "Cardstock"
  662. *Else:
  663.         *rcNameID: =RC_STR_CARDSTOCK
  664. *Endif:
  665.         *Command: CmdSelect
  666.         {
  667.             *Order: PAGE_SETUP.15
  668.             *Cmd: =ubyte_array =uint16 "<0900>" =RI_eCardstock =attr_ubyte =MediaType
  669.         }
  670.     }
  671. }
  672.  
  673. *%======== PaperSize (PCL XL) ========
  674. *Feature: PaperSize
  675. {
  676.     *rcNameID: =PAPER_SIZE_DISPLAY
  677.     *DefaultOption: LETTER
  678.     *Option: 11X17
  679.     {
  680.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  681.         *switch: EdgeToEdgePrint
  682.         {
  683.             *case: OFF
  684.             {
  685.                 *PrintableArea: PAIR(12800, 20000)
  686.                 *PrintableOrigin: PAIR(200, 200)
  687.                 *switch: Orientation
  688.                 {
  689.                     *case: PORTRAIT
  690.                     {
  691.                         *CursorOrigin: PAIR(200, 200)
  692.                         *Command: CmdSelect
  693.                         {
  694.                             *Order: PAGE_SETUP.20
  695.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  696. +                                 =ubyte =RI_eLedgerPaper =attr_ubyte =MediaSize =BeginPage
  697. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  698. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  699.                         }
  700.                     }
  701.                     *case: LANDSCAPE_CC90
  702.                     {
  703.                         *CursorOrigin: PAIR(200, 20200)
  704.                         *Command: CmdSelect
  705.                         {
  706.                             *Order: PAGE_SETUP.20
  707.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  708. +                                 =ubyte =RI_eLedgerPaper =attr_ubyte =MediaSize =BeginPage
  709. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  710. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  711.                         }
  712.                     }
  713.                 }
  714.             }
  715.             *case: ON
  716.             {
  717.                 *PrintableArea: PAIR(13104, 20304)
  718.                 *PrintableOrigin: PAIR(48, 48)
  719.                 *switch: Orientation
  720.                 {
  721.                     *case: PORTRAIT
  722.                     {
  723.                         *CursorOrigin: PAIR(48, 48)
  724.                         *Command: CmdSelect
  725.                         {
  726.                             *Order: PAGE_SETUP.20
  727.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  728. +                                 =ubyte =RI_eLedgerPaper =attr_ubyte =MediaSize =BeginPage
  729. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  730. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  731.                         }
  732.                     }
  733.                     *case: LANDSCAPE_CC90
  734.                     {
  735.                         *CursorOrigin: PAIR(48, 20352)
  736.                         *Command: CmdSelect
  737.                         {
  738.                             *Order: PAGE_SETUP.20
  739.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  740. +                                 =ubyte =RI_eLedgerPaper =attr_ubyte =MediaSize =BeginPage
  741. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  742. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  743.                         }
  744.                     }
  745.                 }
  746.             }
  747.         }
  748.     }
  749.     *Option: LEGAL
  750.     {
  751.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  752.         *switch: EdgeToEdgePrint
  753.         {
  754.             *case: OFF
  755.             {
  756.                 *PrintableArea: PAIR(9800, 16400)
  757.                 *PrintableOrigin: PAIR(200, 200)
  758.                 *switch: Orientation
  759.                 {
  760.                     *case: PORTRAIT
  761.                     {
  762.                         *CursorOrigin: PAIR(200, 200)
  763.                         *Command: CmdSelect
  764.                         {
  765.                             *Order: PAGE_SETUP.20
  766.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  767. +                                 =ubyte =RI_eLegalPaper =attr_ubyte =MediaSize =BeginPage
  768. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  769. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  770.                         }
  771.                     }
  772.                     *case: LANDSCAPE_CC90
  773.                     {
  774.                         *CursorOrigin: PAIR(200, 16600)
  775.                         *Command: CmdSelect
  776.                         {
  777.                             *Order: PAGE_SETUP.20
  778.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  779. +                                 =ubyte =RI_eLegalPaper =attr_ubyte =MediaSize =BeginPage
  780. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  781. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  782.                         }
  783.                     }
  784.                 }
  785.             }
  786.             *case: ON
  787.             {
  788.                 *PrintableArea: PAIR(10104, 16704)
  789.                 *PrintableOrigin: PAIR(48, 48)
  790.                 *switch: Orientation
  791.                 {
  792.                     *case: PORTRAIT
  793.                     {
  794.                         *CursorOrigin: PAIR(48, 48)
  795.                         *Command: CmdSelect
  796.                         {
  797.                             *Order: PAGE_SETUP.20
  798.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  799. +                                 =ubyte =RI_eLegalPaper =attr_ubyte =MediaSize =BeginPage
  800. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  801. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  802.                         }
  803.                     }
  804.                     *case: LANDSCAPE_CC90
  805.                     {
  806.                         *CursorOrigin: PAIR(48, 16752)
  807.                         *Command: CmdSelect
  808.                         {
  809.                             *Order: PAGE_SETUP.20
  810.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  811. +                                 =ubyte =RI_eLegalPaper =attr_ubyte =MediaSize =BeginPage
  812. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  813. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  814.                         }
  815.                     }
  816.                 }
  817.             }
  818.         }
  819.     }
  820.     *Option: LETTER
  821.     {
  822.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  823.         *switch: EdgeToEdgePrint
  824.         {
  825.             *case: OFF
  826.             {
  827.                 *PrintableArea: PAIR(9800, 12800)
  828.                 *PrintableOrigin: PAIR(200, 200)
  829.                 *switch: Orientation
  830.                 {
  831.                     *case: PORTRAIT
  832.                     {
  833.                         *CursorOrigin: PAIR(200, 200)
  834.                         *Command: CmdSelect
  835.                         {
  836.                             *Order: PAGE_SETUP.20
  837.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  838. +                                 =ubyte =RI_eLetterPaper =attr_ubyte =MediaSize =BeginPage
  839. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  840. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  841.                         }
  842.                     }
  843.                     *case: LANDSCAPE_CC90
  844.                     {
  845.                         *CursorOrigin: PAIR(200, 13000)
  846.                         *Command: CmdSelect
  847.                         {
  848.                             *Order: PAGE_SETUP.20
  849.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  850. +                                 =ubyte =RI_eLetterPaper =attr_ubyte =MediaSize =BeginPage
  851. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  852. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  853.                         }
  854.                     }
  855.                 }
  856.             }
  857.             *case: ON
  858.             {
  859.                 *PrintableArea: PAIR(10104, 13104)
  860.                 *PrintableOrigin: PAIR(48, 48)
  861.                 *switch: Orientation
  862.                 {
  863.                     *case: PORTRAIT
  864.                     {
  865.                         *CursorOrigin: PAIR(48, 48)
  866.                         *Command: CmdSelect
  867.                         {
  868.                             *Order: PAGE_SETUP.20
  869.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  870. +                                 =ubyte =RI_eLetterPaper =attr_ubyte =MediaSize =BeginPage
  871. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  872. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  873.                         }
  874.                     }
  875.                     *case: LANDSCAPE_CC90
  876.                     {
  877.                         *CursorOrigin: PAIR(48, 13152)
  878.                         *Command: CmdSelect
  879.                         {
  880.                             *Order: PAGE_SETUP.20
  881.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  882. +                                 =ubyte =RI_eLetterPaper =attr_ubyte =MediaSize =BeginPage
  883. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  884. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  885.                         }
  886.                     }
  887.                 }
  888.             }
  889.         }
  890.     }
  891.     *Option: EXECUTIVE
  892.     {
  893.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  894.         *switch: EdgeToEdgePrint
  895.         {
  896.             *case: OFF
  897.             {
  898.                 *PrintableArea: PAIR(8300, 12200)
  899.                 *PrintableOrigin: PAIR(200, 200)
  900.                 *switch: Orientation
  901.                 {
  902.                     *case: PORTRAIT
  903.                     {
  904.                         *CursorOrigin: PAIR(200, 200)
  905.                         *Command: CmdSelect
  906.                         {
  907.                             *Order: PAGE_SETUP.20
  908.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  909. +                                 =ubyte =RI_eExecPaper =attr_ubyte =MediaSize =BeginPage
  910. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  911. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  912.                         }
  913.                     }
  914.                     *case: LANDSCAPE_CC90
  915.                     {
  916.                         *CursorOrigin: PAIR(200, 12400)
  917.                         *Command: CmdSelect
  918.                         {
  919.                             *Order: PAGE_SETUP.20
  920.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  921. +                                 =ubyte =RI_eExecPaper =attr_ubyte =MediaSize =BeginPage
  922. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  923. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  924.                         }
  925.                     }
  926.                 }
  927.             }
  928.             *case: ON
  929.             {
  930.                 *PrintableArea: PAIR(8604, 12504)
  931.                 *PrintableOrigin: PAIR(48, 48)
  932.                 *switch: Orientation
  933.                 {
  934.                     *case: PORTRAIT
  935.                     {
  936.                         *CursorOrigin: PAIR(48, 48)
  937.                         *Command: CmdSelect
  938.                         {
  939.                             *Order: PAGE_SETUP.20
  940.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  941. +                                 =ubyte =RI_eExecPaper =attr_ubyte =MediaSize =BeginPage
  942. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  943. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  944.                         }
  945.                     }
  946.                     *case: LANDSCAPE_CC90
  947.                     {
  948.                         *CursorOrigin: PAIR(48, 12552)
  949.                         *Command: CmdSelect
  950.                         {
  951.                             *Order: PAGE_SETUP.20
  952.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  953. +                                 =ubyte =RI_eExecPaper =attr_ubyte =MediaSize =BeginPage
  954. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  955. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  956.                         }
  957.                     }
  958.                 }
  959.             }
  960.         }
  961.     }
  962.     *Option: STATEMENT
  963.     {
  964.         *rcNameID: =RC_STR_5_5X8_5
  965.         *switch: EdgeToEdgePrint
  966.         {
  967.             *case: OFF
  968.             {
  969.                 *PrintableArea: PAIR(6200, 9800)
  970.                 *PrintableOrigin: PAIR(200, 200)
  971.                 *switch: Orientation
  972.                 {
  973.                     *case: PORTRAIT
  974.                     {
  975.                         *CursorOrigin: PAIR(200, 200)
  976.                         *Command: CmdSelect
  977.                         {
  978.                             *Order: PAGE_SETUP.20
  979.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  980. +                                 =ubyte =RI_e5_5X8_5Paper =attr_ubyte =MediaSize =BeginPage
  981. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  982. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  983.                         }
  984.                     }
  985.                     *case: LANDSCAPE_CC90
  986.                     {
  987.                         *CursorOrigin: PAIR(200, 10000)
  988.                         *Command: CmdSelect
  989.                         {
  990.                             *Order: PAGE_SETUP.20
  991.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  992. +                                 =ubyte =RI_e5_5X8_5Paper =attr_ubyte =MediaSize =BeginPage
  993. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  994. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  995.                         }
  996.                     }
  997.                 }
  998.             }
  999.             *case: ON
  1000.             {
  1001.                 *PrintableArea: PAIR(6504, 10104)
  1002.                 *PrintableOrigin: PAIR(48, 48)
  1003.                 *switch: Orientation
  1004.                 {
  1005.                     *case: PORTRAIT
  1006.                     {
  1007.                         *CursorOrigin: PAIR(48, 48)
  1008.                         *Command: CmdSelect
  1009.                         {
  1010.                             *Order: PAGE_SETUP.20
  1011.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1012. +                                 =ubyte =RI_e5_5X8_5Paper =attr_ubyte =MediaSize =BeginPage
  1013. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1014. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1015.                         }
  1016.                     }
  1017.                     *case: LANDSCAPE_CC90
  1018.                     {
  1019.                         *CursorOrigin: PAIR(48, 10152)
  1020.                         *Command: CmdSelect
  1021.                         {
  1022.                             *Order: PAGE_SETUP.20
  1023.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1024. +                                 =ubyte =RI_e5_5X8_5Paper =attr_ubyte =MediaSize =BeginPage
  1025. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1026. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1027.                         }
  1028.                     }
  1029.                 }
  1030.             }
  1031.         }
  1032.     }
  1033.     *Option: A3
  1034.     {
  1035.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1036.         *switch: EdgeToEdgePrint
  1037.         {
  1038.             *case: OFF
  1039.             {
  1040.                 *PrintableArea: PAIR(13628, 19440)
  1041.                 *PrintableOrigin: PAIR(200, 200)
  1042.                 *switch: Orientation
  1043.                 {
  1044.                     *case: PORTRAIT
  1045.                     {
  1046.                         *CursorOrigin: PAIR(200, 200)
  1047.                         *Command: CmdSelect
  1048.                         {
  1049.                             *Order: PAGE_SETUP.20
  1050.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1051. +                                 =ubyte =RI_eA3Paper =attr_ubyte =MediaSize =BeginPage
  1052. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1053. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1054.                         }
  1055.                     }
  1056.                     *case: LANDSCAPE_CC90
  1057.                     {
  1058.                         *CursorOrigin: PAIR(200, 19640)
  1059.                         *Command: CmdSelect
  1060.                         {
  1061.                             *Order: PAGE_SETUP.20
  1062.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1063. +                                 =ubyte =RI_eA3Paper =attr_ubyte =MediaSize =BeginPage
  1064. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1065. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1066.                         }
  1067.                     }
  1068.                 }
  1069.             }
  1070.             *case: ON
  1071.             {
  1072.                 *PrintableArea: PAIR(13932, 19744)
  1073.                 *PrintableOrigin: PAIR(48, 48)
  1074.                 *switch: Orientation
  1075.                 {
  1076.                     *case: PORTRAIT
  1077.                     {
  1078.                         *CursorOrigin: PAIR(48, 48)
  1079.                         *Command: CmdSelect
  1080.                         {
  1081.                             *Order: PAGE_SETUP.20
  1082.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1083. +                                 =ubyte =RI_eA3Paper =attr_ubyte =MediaSize =BeginPage
  1084. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1085. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1086.                         }
  1087.                     }
  1088.                     *case: LANDSCAPE_CC90
  1089.                     {
  1090.                         *CursorOrigin: PAIR(48, 19792)
  1091.                         *Command: CmdSelect
  1092.                         {
  1093.                             *Order: PAGE_SETUP.20
  1094.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1095. +                                 =ubyte =RI_eA3Paper =attr_ubyte =MediaSize =BeginPage
  1096. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1097. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1098.                         }
  1099.                     }
  1100.                 }
  1101.             }
  1102.         }
  1103.     }
  1104.     *Option: A4
  1105.     {
  1106.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1107.         *switch: EdgeToEdgePrint
  1108.         {
  1109.             *case: OFF
  1110.             {
  1111.                 *PrintableArea: PAIR(9520, 13628)
  1112.                 *PrintableOrigin: PAIR(200, 200)
  1113.                 *switch: Orientation
  1114.                 {
  1115.                     *case: PORTRAIT
  1116.                     {
  1117.                         *CursorOrigin: PAIR(200, 200)
  1118.                         *Command: CmdSelect
  1119.                         {
  1120.                             *Order: PAGE_SETUP.20
  1121.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1122. +                                 =ubyte =RI_eA4Paper =attr_ubyte =MediaSize =BeginPage
  1123. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1124. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1125.                         }
  1126.                     }
  1127.                     *case: LANDSCAPE_CC90
  1128.                     {
  1129.                         *CursorOrigin: PAIR(200, 13828)
  1130.                         *Command: CmdSelect
  1131.                         {
  1132.                             *Order: PAGE_SETUP.20
  1133.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1134. +                                 =ubyte =RI_eA4Paper =attr_ubyte =MediaSize =BeginPage
  1135. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1136. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1137.                         }
  1138.                     }
  1139.                 }
  1140.             }
  1141.             *case: ON
  1142.             {
  1143.                 *PrintableArea: PAIR(9824, 13932)
  1144.                 *PrintableOrigin: PAIR(48, 48)
  1145.                 *switch: Orientation
  1146.                 {
  1147.                     *case: PORTRAIT
  1148.                     {
  1149.                         *CursorOrigin: PAIR(48, 48)
  1150.                         *Command: CmdSelect
  1151.                         {
  1152.                             *Order: PAGE_SETUP.20
  1153.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1154. +                                 =ubyte =RI_eA4Paper =attr_ubyte =MediaSize =BeginPage
  1155. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1156. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1157.                         }
  1158.                     }
  1159.                     *case: LANDSCAPE_CC90
  1160.                     {
  1161.                         *CursorOrigin: PAIR(48, 13980)
  1162.                         *Command: CmdSelect
  1163.                         {
  1164.                             *Order: PAGE_SETUP.20
  1165.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1166. +                                 =ubyte =RI_eA4Paper =attr_ubyte =MediaSize =BeginPage
  1167. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1168. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1169.                         }
  1170.                     }
  1171.                 }
  1172.             }
  1173.         }
  1174.     }
  1175.     *Option: A5
  1176.     {
  1177.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1178.         *switch: EdgeToEdgePrint
  1179.         {
  1180.             *case: OFF
  1181.             {
  1182.                 *PrintableArea: PAIR(6592, 9520)
  1183.                 *PrintableOrigin: PAIR(200, 200)
  1184.                 *switch: Orientation
  1185.                 {
  1186.                     *case: PORTRAIT
  1187.                     {
  1188.                         *CursorOrigin: PAIR(200, 200)
  1189.                         *Command: CmdSelect
  1190.                         {
  1191.                             *Order: PAGE_SETUP.20
  1192.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1193. +                                 =ubyte =RI_eA5Paper =attr_ubyte =MediaSize =BeginPage
  1194. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1195. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1196.                         }
  1197.                     }
  1198.                     *case: LANDSCAPE_CC90
  1199.                     {
  1200.                         *CursorOrigin: PAIR(200, 9720)
  1201.                         *Command: CmdSelect
  1202.                         {
  1203.                             *Order: PAGE_SETUP.20
  1204.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1205. +                                 =ubyte =RI_eA5Paper =attr_ubyte =MediaSize =BeginPage
  1206. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1207. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1208.                         }
  1209.                     }
  1210.                 }
  1211.             }
  1212.             *case: ON
  1213.             {
  1214.                 *PrintableArea: PAIR(6896, 9824)
  1215.                 *PrintableOrigin: PAIR(48, 48)
  1216.                 *switch: Orientation
  1217.                 {
  1218.                     *case: PORTRAIT
  1219.                     {
  1220.                         *CursorOrigin: PAIR(48, 48)
  1221.                         *Command: CmdSelect
  1222.                         {
  1223.                             *Order: PAGE_SETUP.20
  1224.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1225. +                                 =ubyte =RI_eA5Paper =attr_ubyte =MediaSize =BeginPage
  1226. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1227. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1228.                         }
  1229.                     }
  1230.                     *case: LANDSCAPE_CC90
  1231.                     {
  1232.                         *CursorOrigin: PAIR(48, 9872)
  1233.                         *Command: CmdSelect
  1234.                         {
  1235.                             *Order: PAGE_SETUP.20
  1236.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1237. +                                 =ubyte =RI_eA5Paper =attr_ubyte =MediaSize =BeginPage
  1238. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1239. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1240.                         }
  1241.                     }
  1242.                 }
  1243.             }
  1244.         }
  1245.     }
  1246.     *Option: A6
  1247.     {
  1248.         *rcNameID: =RC_STR_A6
  1249.         *PageDimensions: PAIR(4956, 6996)
  1250.         *switch: EdgeToEdgePrint
  1251.         {
  1252.             *case: OFF
  1253.             {
  1254.                 *PrintableArea: PAIR(4560, 6592)
  1255.                 *PrintableOrigin: PAIR(200, 200)
  1256.                 *switch: Orientation
  1257.                 {
  1258.                     *case: PORTRAIT
  1259.                     {
  1260.                         *CursorOrigin: PAIR(200, 200)
  1261.                         *Command: CmdSelect
  1262.                         {
  1263.                             *Order: PAGE_SETUP.20
  1264.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1265. +                                 =ubyte =RI_eA6Paper =attr_ubyte =MediaSize =BeginPage
  1266. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1267. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1268.                         }
  1269.                     }
  1270.                     *case: LANDSCAPE_CC90
  1271.                     {
  1272.                         *CursorOrigin: PAIR(200, 6792)
  1273.                         *Command: CmdSelect
  1274.                         {
  1275.                             *Order: PAGE_SETUP.20
  1276.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1277. +                                 =ubyte =RI_eA6Paper =attr_ubyte =MediaSize =BeginPage
  1278. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1279. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1280.                         }
  1281.                     }
  1282.                 }
  1283.             }
  1284.             *case: ON
  1285.             {
  1286.                 *PrintableArea: PAIR(4864, 6896)
  1287.                 *PrintableOrigin: PAIR(48, 48)
  1288.                 *switch: Orientation
  1289.                 {
  1290.                     *case: PORTRAIT
  1291.                     {
  1292.                         *CursorOrigin: PAIR(48, 48)
  1293.                         *Command: CmdSelect
  1294.                         {
  1295.                             *Order: PAGE_SETUP.20
  1296.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1297. +                                 =ubyte =RI_eA6Paper =attr_ubyte =MediaSize =BeginPage
  1298. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1299. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1300.                         }
  1301.                     }
  1302.                     *case: LANDSCAPE_CC90
  1303.                     {
  1304.                         *CursorOrigin: PAIR(48, 6944)
  1305.                         *Command: CmdSelect
  1306.                         {
  1307.                             *Order: PAGE_SETUP.20
  1308.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1309. +                                 =ubyte =RI_eA6Paper =attr_ubyte =MediaSize =BeginPage
  1310. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1311. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1312.                         }
  1313.                     }
  1314.                 }
  1315.             }
  1316.         }
  1317.     }
  1318.     *Option: B4
  1319.     {
  1320.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1321.         *switch: EdgeToEdgePrint
  1322.         {
  1323.             *case: OFF
  1324.             {
  1325.                 *PrintableArea: PAIR(11740, 16796)
  1326.                 *PrintableOrigin: PAIR(200, 200)
  1327.                 *switch: Orientation
  1328.                 {
  1329.                     *case: PORTRAIT
  1330.                     {
  1331.                         *CursorOrigin: PAIR(200, 200)
  1332.                         *Command: CmdSelect
  1333.                         {
  1334.                             *Order: PAGE_SETUP.20
  1335.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1336. +                                 =ubyte =RI_eJB4Paper =attr_ubyte =MediaSize =BeginPage
  1337. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1338. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1339.                         }
  1340.                     }
  1341.                     *case: LANDSCAPE_CC90
  1342.                     {
  1343.                         *CursorOrigin: PAIR(200, 16996)
  1344.                         *Command: CmdSelect
  1345.                         {
  1346.                             *Order: PAGE_SETUP.20
  1347.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1348. +                                 =ubyte =RI_eJB4Paper =attr_ubyte =MediaSize =BeginPage
  1349. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1350. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1351.                         }
  1352.                     }
  1353.                 }
  1354.             }
  1355.             *case: ON
  1356.             {
  1357.                 *PrintableArea: PAIR(12044, 17100)
  1358.                 *PrintableOrigin: PAIR(48, 48)
  1359.                 *switch: Orientation
  1360.                 {
  1361.                     *case: PORTRAIT
  1362.                     {
  1363.                         *CursorOrigin: PAIR(48, 48)
  1364.                         *Command: CmdSelect
  1365.                         {
  1366.                             *Order: PAGE_SETUP.20
  1367.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1368. +                                 =ubyte =RI_eJB4Paper =attr_ubyte =MediaSize =BeginPage
  1369. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1370. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1371.                         }
  1372.                     }
  1373.                     *case: LANDSCAPE_CC90
  1374.                     {
  1375.                         *CursorOrigin: PAIR(48, 17148)
  1376.                         *Command: CmdSelect
  1377.                         {
  1378.                             *Order: PAGE_SETUP.20
  1379.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1380. +                                 =ubyte =RI_eJB4Paper =attr_ubyte =MediaSize =BeginPage
  1381. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1382. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1383.                         }
  1384.                     }
  1385.                 }
  1386.             }
  1387.         }
  1388.     }
  1389.     *Option: B5
  1390.     {
  1391.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1392.         *switch: EdgeToEdgePrint
  1393.         {
  1394.             *case: OFF
  1395.             {
  1396.                 *PrintableArea: PAIR(8196, 11740)
  1397.                 *PrintableOrigin: PAIR(200, 200)
  1398.                 *switch: Orientation
  1399.                 {
  1400.                     *case: PORTRAIT
  1401.                     {
  1402.                         *CursorOrigin: PAIR(200, 200)
  1403.                         *Command: CmdSelect
  1404.                         {
  1405.                             *Order: PAGE_SETUP.20
  1406.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1407. +                                 =ubyte =RI_eJB5Paper =attr_ubyte =MediaSize =BeginPage
  1408. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1409. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1410.                         }
  1411.                     }
  1412.                     *case: LANDSCAPE_CC90
  1413.                     {
  1414.                         *CursorOrigin: PAIR(200, 11940)
  1415.                         *Command: CmdSelect
  1416.                         {
  1417.                             *Order: PAGE_SETUP.20
  1418.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1419. +                                 =ubyte =RI_eJB5Paper =attr_ubyte =MediaSize =BeginPage
  1420. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1421. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1422.                         }
  1423.                     }
  1424.                 }
  1425.             }
  1426.             *case: ON
  1427.             {
  1428.                 *PrintableArea: PAIR(8500, 12044)
  1429.                 *PrintableOrigin: PAIR(48, 48)
  1430.                 *switch: Orientation
  1431.                 {
  1432.                     *case: PORTRAIT
  1433.                     {
  1434.                         *CursorOrigin: PAIR(48, 48)
  1435.                         *Command: CmdSelect
  1436.                         {
  1437.                             *Order: PAGE_SETUP.20
  1438.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1439. +                                 =ubyte =RI_eJB5Paper =attr_ubyte =MediaSize =BeginPage
  1440. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1441. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1442.                         }
  1443.                     }
  1444.                     *case: LANDSCAPE_CC90
  1445.                     {
  1446.                         *CursorOrigin: PAIR(48, 12092)
  1447.                         *Command: CmdSelect
  1448.                         {
  1449.                             *Order: PAGE_SETUP.20
  1450.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1451. +                                 =ubyte =RI_eJB5Paper =attr_ubyte =MediaSize =BeginPage
  1452. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1453. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1454.                         }
  1455.                     }
  1456.                 }
  1457.             }
  1458.         }
  1459.     }
  1460.     *Option: ENV_10
  1461.     {
  1462.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1463.         *switch: EdgeToEdgePrint
  1464.         {
  1465.             *case: OFF
  1466.             {
  1467.                 *PrintableArea: PAIR(4548, 11000)
  1468.                 *PrintableOrigin: PAIR(200, 200)
  1469.                 *switch: Orientation
  1470.                 {
  1471.                     *case: PORTRAIT
  1472.                     {
  1473.                         *CursorOrigin: PAIR(200, 200)
  1474.                         *Command: CmdSelect
  1475.                         {
  1476.                             *Order: PAGE_SETUP.20
  1477.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1478. +                                 =ubyte =RI_eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  1479. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1480. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1481.                         }
  1482.                     }
  1483.                     *case: LANDSCAPE_CC90
  1484.                     {
  1485.                         *CursorOrigin: PAIR(200, 11200)
  1486.                         *Command: CmdSelect
  1487.                         {
  1488.                             *Order: PAGE_SETUP.20
  1489.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1490. +                                 =ubyte =RI_eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  1491. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1492. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1493.                         }
  1494.                     }
  1495.                 }
  1496.             }
  1497.             *case: ON
  1498.             {
  1499.                 *PrintableArea: PAIR(4852, 11304)
  1500.                 *PrintableOrigin: PAIR(48, 48)
  1501.                 *switch: Orientation
  1502.                 {
  1503.                     *case: PORTRAIT
  1504.                     {
  1505.                         *CursorOrigin: PAIR(48, 48)
  1506.                         *Command: CmdSelect
  1507.                         {
  1508.                             *Order: PAGE_SETUP.20
  1509.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1510. +                                 =ubyte =RI_eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  1511. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1512. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1513.                         }
  1514.                     }
  1515.                     *case: LANDSCAPE_CC90
  1516.                     {
  1517.                         *CursorOrigin: PAIR(48, 11352)
  1518.                         *Command: CmdSelect
  1519.                         {
  1520.                             *Order: PAGE_SETUP.20
  1521.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1522. +                                 =ubyte =RI_eCOM10Envelope =attr_ubyte =MediaSize =BeginPage
  1523. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1524. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1525.                         }
  1526.                     }
  1527.                 }
  1528.             }
  1529.         }
  1530.     }
  1531.     *Option: ENV_DL
  1532.     {
  1533.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1534.         *switch: EdgeToEdgePrint
  1535.         {
  1536.             *case: OFF
  1537.             {
  1538.                 *PrintableArea: PAIR(4796, 9992)
  1539.                 *PrintableOrigin: PAIR(200, 200)
  1540.                 *switch: Orientation
  1541.                 {
  1542.                     *case: PORTRAIT
  1543.                     {
  1544.                         *CursorOrigin: PAIR(200, 200)
  1545.                         *Command: CmdSelect
  1546.                         {
  1547.                             *Order: PAGE_SETUP.20
  1548.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1549. +                                 =ubyte =RI_eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  1550. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1551. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1552.                         }
  1553.                     }
  1554.                     *case: LANDSCAPE_CC90
  1555.                     {
  1556.                         *CursorOrigin: PAIR(200, 10192)
  1557.                         *Command: CmdSelect
  1558.                         {
  1559.                             *Order: PAGE_SETUP.20
  1560.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1561. +                                 =ubyte =RI_eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  1562. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1563. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1564.                         }
  1565.                     }
  1566.                 }
  1567.             }
  1568.             *case: ON
  1569.             {
  1570.                 *PrintableArea: PAIR(5100, 10296)
  1571.                 *PrintableOrigin: PAIR(48, 48)
  1572.                 *switch: Orientation
  1573.                 {
  1574.                     *case: PORTRAIT
  1575.                     {
  1576.                         *CursorOrigin: PAIR(48, 48)
  1577.                         *Command: CmdSelect
  1578.                         {
  1579.                             *Order: PAGE_SETUP.20
  1580.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1581. +                                 =ubyte =RI_eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  1582. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1583. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1584.                         }
  1585.                     }
  1586.                     *case: LANDSCAPE_CC90
  1587.                     {
  1588.                         *CursorOrigin: PAIR(48, 10344)
  1589.                         *Command: CmdSelect
  1590.                         {
  1591.                             *Order: PAGE_SETUP.20
  1592.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1593. +                                 =ubyte =RI_eDLEnvelope =attr_ubyte =MediaSize =BeginPage
  1594. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1595. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1596.                         }
  1597.                     }
  1598.                 }
  1599.             }
  1600.         }
  1601.     }
  1602.     *Option: ENV_MONARCH
  1603.     {
  1604.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1605.         *switch: EdgeToEdgePrint
  1606.         {
  1607.             *case: OFF
  1608.             {
  1609.                 *PrintableArea: PAIR(4248, 8600)
  1610.                 *PrintableOrigin: PAIR(200, 200)
  1611.                 *switch: Orientation
  1612.                 {
  1613.                     *case: PORTRAIT
  1614.                     {
  1615.                         *CursorOrigin: PAIR(200, 200)
  1616.                         *Command: CmdSelect
  1617.                         {
  1618.                             *Order: PAGE_SETUP.20
  1619.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1620. +                                 =ubyte =RI_eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1621. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1622. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1623.                         }
  1624.                     }
  1625.                     *case: LANDSCAPE_CC90
  1626.                     {
  1627.                         *CursorOrigin: PAIR(200, 8800)
  1628.                         *Command: CmdSelect
  1629.                         {
  1630.                             *Order: PAGE_SETUP.20
  1631.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1632. +                                 =ubyte =RI_eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1633. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1634. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1635.                         }
  1636.                     }
  1637.                 }
  1638.             }
  1639.             *case: ON
  1640.             {
  1641.                 *PrintableArea: PAIR(4552, 8904)
  1642.                 *PrintableOrigin: PAIR(48, 48)
  1643.                 *switch: Orientation
  1644.                 {
  1645.                     *case: PORTRAIT
  1646.                     {
  1647.                         *CursorOrigin: PAIR(48, 48)
  1648.                         *Command: CmdSelect
  1649.                         {
  1650.                             *Order: PAGE_SETUP.20
  1651.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1652. +                                 =ubyte =RI_eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1653. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1654. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1655.                         }
  1656.                     }
  1657.                     *case: LANDSCAPE_CC90
  1658.                     {
  1659.                         *CursorOrigin: PAIR(48, 8952)
  1660.                         *Command: CmdSelect
  1661.                         {
  1662.                             *Order: PAGE_SETUP.20
  1663.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1664. +                                 =ubyte =RI_eMonarchEnvelope =attr_ubyte =MediaSize =BeginPage
  1665. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1666. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1667.                         }
  1668.                     }
  1669.                 }
  1670.             }
  1671.         }
  1672.     }
  1673.     *Option: ENV_C5
  1674.     {
  1675.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1676.         *switch: EdgeToEdgePrint
  1677.         {
  1678.             *case: OFF
  1679.             {
  1680.                 *PrintableArea: PAIR(7252, 10416)
  1681.                 *PrintableOrigin: PAIR(200, 200)
  1682.                 *switch: Orientation
  1683.                 {
  1684.                     *case: PORTRAIT
  1685.                     {
  1686.                         *CursorOrigin: PAIR(200, 200)
  1687.                         *Command: CmdSelect
  1688.                         {
  1689.                             *Order: PAGE_SETUP.20
  1690.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1691. +                                 =ubyte =RI_eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1692. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1693. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1694.                         }
  1695.                     }
  1696.                     *case: LANDSCAPE_CC90
  1697.                     {
  1698.                         *CursorOrigin: PAIR(200, 10616)
  1699.                         *Command: CmdSelect
  1700.                         {
  1701.                             *Order: PAGE_SETUP.20
  1702.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1703. +                                 =ubyte =RI_eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1704. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1705. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1706.                         }
  1707.                     }
  1708.                 }
  1709.             }
  1710.             *case: ON
  1711.             {
  1712.                 *PrintableArea: PAIR(7556, 10720)
  1713.                 *PrintableOrigin: PAIR(48, 48)
  1714.                 *switch: Orientation
  1715.                 {
  1716.                     *case: PORTRAIT
  1717.                     {
  1718.                         *CursorOrigin: PAIR(48, 48)
  1719.                         *Command: CmdSelect
  1720.                         {
  1721.                             *Order: PAGE_SETUP.20
  1722.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1723. +                                 =ubyte =RI_eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1724. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1725. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1726.                         }
  1727.                     }
  1728.                     *case: LANDSCAPE_CC90
  1729.                     {
  1730.                         *CursorOrigin: PAIR(48, 10768)
  1731.                         *Command: CmdSelect
  1732.                         {
  1733.                             *Order: PAGE_SETUP.20
  1734.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1735. +                                 =ubyte =RI_eC5Envelope =attr_ubyte =MediaSize =BeginPage
  1736. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1737. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1738.                         }
  1739.                     }
  1740.                 }
  1741.             }
  1742.         }
  1743.     }
  1744.     *Option: ENV_C6
  1745.     {
  1746.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  1747.         *switch: EdgeToEdgePrint
  1748.         {
  1749.             *case: OFF
  1750.             {
  1751.                 *PrintableArea: PAIR(4984, 7252)
  1752.                 *PrintableOrigin: PAIR(200, 200)
  1753.                 *switch: Orientation
  1754.                 {
  1755.                     *case: PORTRAIT
  1756.                     {
  1757.                         *CursorOrigin: PAIR(200, 200)
  1758.                         *Command: CmdSelect
  1759.                         {
  1760.                             *Order: PAGE_SETUP.20
  1761.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1762. +                                 =ubyte =RI_eC6Envelope =attr_ubyte =MediaSize =BeginPage
  1763. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1764. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1765.                         }
  1766.                     }
  1767.                     *case: LANDSCAPE_CC90
  1768.                     {
  1769.                         *CursorOrigin: PAIR(200, 7452)
  1770.                         *Command: CmdSelect
  1771.                         {
  1772.                             *Order: PAGE_SETUP.20
  1773.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1774. +                                 =ubyte =RI_eC6Envelope =attr_ubyte =MediaSize =BeginPage
  1775. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1776. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1777.                         }
  1778.                     }
  1779.                 }
  1780.             }
  1781.             *case: ON
  1782.             {
  1783.                 *PrintableArea: PAIR(5288, 7556)
  1784.                 *PrintableOrigin: PAIR(48, 48)
  1785.                 *switch: Orientation
  1786.                 {
  1787.                     *case: PORTRAIT
  1788.                     {
  1789.                         *CursorOrigin: PAIR(48, 48)
  1790.                         *Command: CmdSelect
  1791.                         {
  1792.                             *Order: PAGE_SETUP.20
  1793.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1794. +                                 =ubyte =RI_eC6Envelope =attr_ubyte =MediaSize =BeginPage
  1795. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1796. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1797.                         }
  1798.                     }
  1799.                     *case: LANDSCAPE_CC90
  1800.                     {
  1801.                         *CursorOrigin: PAIR(48, 7604)
  1802.                         *Command: CmdSelect
  1803.                         {
  1804.                             *Order: PAGE_SETUP.20
  1805.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1806. +                                 =ubyte =RI_eC6Envelope =attr_ubyte =MediaSize =BeginPage
  1807. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1808. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1809.                         }
  1810.                     }
  1811.                 }
  1812.             }
  1813.         }
  1814.     }
  1815.     *Option: FOLIO
  1816.     {
  1817.         *rcNameID: =RC_STR_8_5X13
  1818.         *switch: EdgeToEdgePrint
  1819.         {
  1820.             *case: OFF
  1821.             {
  1822.                 *PrintableArea: PAIR(9800, 15200)
  1823.                 *PrintableOrigin: PAIR(200, 200)
  1824.                 *switch: Orientation
  1825.                 {
  1826.                     *case: PORTRAIT
  1827.                     {
  1828.                         *CursorOrigin: PAIR(200, 200)
  1829.                         *Command: CmdSelect
  1830.                         {
  1831.                             *Order: PAGE_SETUP.20
  1832.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1833. +                                 =ubyte =RI_e8_5X13Paper =attr_ubyte =MediaSize =BeginPage
  1834. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1835. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1836.                         }
  1837.                     }
  1838.                     *case: LANDSCAPE_CC90
  1839.                     {
  1840.                         *CursorOrigin: PAIR(200, 15400)
  1841.                         *Command: CmdSelect
  1842.                         {
  1843.                             *Order: PAGE_SETUP.20
  1844.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1845. +                                 =ubyte =RI_e8_5X13Paper =attr_ubyte =MediaSize =BeginPage
  1846. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1847. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1848.                         }
  1849.                     }
  1850.                 }
  1851.             }
  1852.             *case: ON
  1853.             {
  1854.                 *PrintableArea: PAIR(10104, 15504)
  1855.                 *PrintableOrigin: PAIR(48, 48)
  1856.                 *switch: Orientation
  1857.                 {
  1858.                     *case: PORTRAIT
  1859.                     {
  1860.                         *CursorOrigin: PAIR(48, 48)
  1861.                         *Command: CmdSelect
  1862.                         {
  1863.                             *Order: PAGE_SETUP.20
  1864.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1865. +                                 =ubyte =RI_e8_5X13Paper =attr_ubyte =MediaSize =BeginPage
  1866. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1867. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1868.                         }
  1869.                     }
  1870.                     *case: LANDSCAPE_CC90
  1871.                     {
  1872.                         *CursorOrigin: PAIR(48, 15552)
  1873.                         *Command: CmdSelect
  1874.                         {
  1875.                             *Order: PAGE_SETUP.20
  1876.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1877. +                                 =ubyte =RI_e8_5X13Paper =attr_ubyte =MediaSize =BeginPage
  1878. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1879. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1880.                         }
  1881.                     }
  1882.                 }
  1883.             }
  1884.         }
  1885.     }
  1886.     *Option: 8_25x13
  1887.     {
  1888.         *rcNameID: =RC_STR_8_25X13
  1889.         *PageDimensions: PAIR(9900, 15600)
  1890.         *switch: EdgeToEdgePrint
  1891.         {
  1892.             *case: OFF
  1893.             {
  1894.                 *PrintableArea: PAIR(9500, 15200)
  1895.                 *PrintableOrigin: PAIR(200, 200)
  1896.                 *switch: Orientation
  1897.                 {
  1898.                     *case: PORTRAIT
  1899.                     {
  1900.                         *CursorOrigin: PAIR(200, 200)
  1901.                         *Command: CmdSelect
  1902.                         {
  1903.                             *Order: PAGE_SETUP.20
  1904.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1905. +                                 =ubyte =RI_e8_25X13Paper =attr_ubyte =MediaSize =BeginPage
  1906. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1907. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1908.                         }
  1909.                     }
  1910.                     *case: LANDSCAPE_CC90
  1911.                     {
  1912.                         *CursorOrigin: PAIR(200, 15400)
  1913.                         *Command: CmdSelect
  1914.                         {
  1915.                             *Order: PAGE_SETUP.20
  1916.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1917. +                                 =ubyte =RI_e8_25X13Paper =attr_ubyte =MediaSize =BeginPage
  1918. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1919. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1920.                         }
  1921.                     }
  1922.                 }
  1923.             }
  1924.             *case: ON
  1925.             {
  1926.                 *PrintableArea: PAIR(9804, 15504)
  1927.                 *PrintableOrigin: PAIR(48, 48)
  1928.                 *switch: Orientation
  1929.                 {
  1930.                     *case: PORTRAIT
  1931.                     {
  1932.                         *CursorOrigin: PAIR(48, 48)
  1933.                         *Command: CmdSelect
  1934.                         {
  1935.                             *Order: PAGE_SETUP.20
  1936.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1937. +                                 =ubyte =RI_e8_25X13Paper =attr_ubyte =MediaSize =BeginPage
  1938. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1939. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1940.                         }
  1941.                     }
  1942.                     *case: LANDSCAPE_CC90
  1943.                     {
  1944.                         *CursorOrigin: PAIR(48, 15552)
  1945.                         *Command: CmdSelect
  1946.                         {
  1947.                             *Order: PAGE_SETUP.20
  1948.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1949. +                                 =ubyte =RI_e8_25X13Paper =attr_ubyte =MediaSize =BeginPage
  1950. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  1951. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1952.                         }
  1953.                     }
  1954.                 }
  1955.             }
  1956.         }
  1957.     }
  1958.     *Option: 8x13
  1959.     {
  1960.         *rcNameID: =RC_STR_8X13
  1961.         *PageDimensions: PAIR(9600, 15600)
  1962.         *switch: EdgeToEdgePrint
  1963.         {
  1964.             *case: OFF
  1965.             {
  1966.                 *PrintableArea: PAIR(9200, 15200)
  1967.                 *PrintableOrigin: PAIR(200, 200)
  1968.                 *switch: Orientation
  1969.                 {
  1970.                     *case: PORTRAIT
  1971.                     {
  1972.                         *CursorOrigin: PAIR(200, 200)
  1973.                         *Command: CmdSelect
  1974.                         {
  1975.                             *Order: PAGE_SETUP.20
  1976.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  1977. +                                 =ubyte =RI_e8X13Paper =attr_ubyte =MediaSize =BeginPage
  1978. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1979. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1980.                         }
  1981.                     }
  1982.                     *case: LANDSCAPE_CC90
  1983.                     {
  1984.                         *CursorOrigin: PAIR(200, 15400)
  1985.                         *Command: CmdSelect
  1986.                         {
  1987.                             *Order: PAGE_SETUP.20
  1988.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  1989. +                                 =ubyte =RI_e8X13Paper =attr_ubyte =MediaSize =BeginPage
  1990. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  1991. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  1992.                         }
  1993.                     }
  1994.                 }
  1995.             }
  1996.             *case: ON
  1997.             {
  1998.                 *PrintableArea: PAIR(9504, 15504)
  1999.                 *PrintableOrigin: PAIR(48, 48)
  2000.                 *switch: Orientation
  2001.                 {
  2002.                     *case: PORTRAIT
  2003.                     {
  2004.                         *CursorOrigin: PAIR(48, 48)
  2005.                         *Command: CmdSelect
  2006.                         {
  2007.                             *Order: PAGE_SETUP.20
  2008.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  2009. +                                 =ubyte =RI_e8X13Paper =attr_ubyte =MediaSize =BeginPage
  2010. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  2011. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2012.                         }
  2013.                     }
  2014.                     *case: LANDSCAPE_CC90
  2015.                     {
  2016.                         *CursorOrigin: PAIR(48, 15552)
  2017.                         *Command: CmdSelect
  2018.                         {
  2019.                             *Order: PAGE_SETUP.20
  2020.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  2021. +                                 =ubyte =RI_e8X13Paper =attr_ubyte =MediaSize =BeginPage
  2022. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  2023. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2024.                         }
  2025.                     }
  2026.                 }
  2027.             }
  2028.         }
  2029.     }
  2030.     *Option: 8kai
  2031.     {
  2032. *Ifdef: USE_QUOTED_STRING
  2033.         *Name: "8K"
  2034. *Else:
  2035.         *rcNameID: =RC_STR_8K
  2036. *Endif:
  2037.         *PageDimensions: PAIR(12612, 18424)
  2038.         *switch: EdgeToEdgePrint
  2039.         {
  2040.             *case: OFF
  2041.             {
  2042.                 *PrintableArea: PAIR(12212, 18024)
  2043.                 *PrintableOrigin: PAIR(200, 200)
  2044.                 *switch: Orientation
  2045.                 {
  2046.                     *case: PORTRAIT
  2047.                     {
  2048.                         *CursorOrigin: PAIR(200, 200)
  2049.                         *Command: CmdSelect
  2050.                         {
  2051.                             *Order: PAGE_SETUP.20
  2052.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  2053. +                                 =ubyte =RI_e8KPaper =attr_ubyte =MediaSize =BeginPage
  2054. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  2055. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2056.                         }
  2057.                     }
  2058.                     *case: LANDSCAPE_CC90
  2059.                     {
  2060.                         *CursorOrigin: PAIR(200, 18224)
  2061.                         *Command: CmdSelect
  2062.                         {
  2063.                             *Order: PAGE_SETUP.20
  2064.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  2065. +                                 =ubyte =RI_e8KPaper =attr_ubyte =MediaSize =BeginPage
  2066. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  2067. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2068.                         }
  2069.                     }
  2070.                 }
  2071.             }
  2072.             *case: ON
  2073.             {
  2074.                 *PrintableArea: PAIR(12516, 18328)
  2075.                 *PrintableOrigin: PAIR(48, 48)
  2076.                 *switch: Orientation
  2077.                 {
  2078.                     *case: PORTRAIT
  2079.                     {
  2080.                         *CursorOrigin: PAIR(48, 48)
  2081.                         *Command: CmdSelect
  2082.                         {
  2083.                             *Order: PAGE_SETUP.20
  2084.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  2085. +                                 =ubyte =RI_e8KPaper =attr_ubyte =MediaSize =BeginPage
  2086. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  2087. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2088.                         }
  2089.                     }
  2090.                     *case: LANDSCAPE_CC90
  2091.                     {
  2092.                         *CursorOrigin: PAIR(48, 18376)
  2093.                         *Command: CmdSelect
  2094.                         {
  2095.                             *Order: PAGE_SETUP.20
  2096.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  2097. +                                 =ubyte =RI_e8KPaper =attr_ubyte =MediaSize =BeginPage
  2098. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  2099. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2100.                         }
  2101.                     }
  2102.                 }
  2103.             }
  2104.         }
  2105.     }
  2106.     *Option: 16kai
  2107.     {
  2108. *Ifdef: USE_QUOTED_STRING
  2109.         *Name: "16K"
  2110. *Else:
  2111.         *rcNameID: =RC_STR_16K
  2112. *Endif:
  2113.         *PageDimensions: PAIR(9212, 12612)
  2114.         *switch: EdgeToEdgePrint
  2115.         {
  2116.             *case: OFF
  2117.             {
  2118.                 *PrintableArea: PAIR(8812, 12212)
  2119.                 *PrintableOrigin: PAIR(200, 200)
  2120.                 *switch: Orientation
  2121.                 {
  2122.                     *case: PORTRAIT
  2123.                     {
  2124.                         *CursorOrigin: PAIR(200, 200)
  2125.                         *Command: CmdSelect
  2126.                         {
  2127.                             *Order: PAGE_SETUP.20
  2128.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  2129. +                                 =ubyte =RI_e16KPaper =attr_ubyte =MediaSize =BeginPage
  2130. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  2131. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2132.                         }
  2133.                     }
  2134.                     *case: LANDSCAPE_CC90
  2135.                     {
  2136.                         *CursorOrigin: PAIR(200, 12412)
  2137.                         *Command: CmdSelect
  2138.                         {
  2139.                             *Order: PAGE_SETUP.20
  2140.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  2141. +                                 =ubyte =RI_e16KPaper =attr_ubyte =MediaSize =BeginPage
  2142. +                                 =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)}
  2143. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2144.                         }
  2145.                     }
  2146.                 }
  2147.             }
  2148.             *case: ON
  2149.             {
  2150.                 *PrintableArea: PAIR(9116, 12516)
  2151.                 *PrintableOrigin: PAIR(48, 48)
  2152.                 *switch: Orientation
  2153.                 {
  2154.                     *case: PORTRAIT
  2155.                     {
  2156.                         *CursorOrigin: PAIR(48, 48)
  2157.                         *Command: CmdSelect
  2158.                         {
  2159.                             *Order: PAGE_SETUP.20
  2160.                             *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  2161. +                                 =ubyte =RI_e16KPaper =attr_ubyte =MediaSize =BeginPage
  2162. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  2163. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2164.                         }
  2165.                     }
  2166.                     *case: LANDSCAPE_CC90
  2167.                     {
  2168.                         *CursorOrigin: PAIR(48, 12564)
  2169.                         *Command: CmdSelect
  2170.                         {
  2171.                             *Order: PAGE_SETUP.20
  2172.                             *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  2173. +                                 =ubyte =RI_e16KPaper =attr_ubyte =MediaSize =BeginPage
  2174. +                                 =sint16_xy %l{((48*TextXRes)/1200)}%l{((48*TextYRes)/1200)}
  2175. +                                 =attr_ubyte =PageOrigin =SetPageOrigin
  2176.                         }
  2177.                     }
  2178.                 }
  2179.             }
  2180.         }
  2181.     }
  2182.     *Option: CUSTOMSIZE
  2183.     {
  2184.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  2185.         *MinSize: PAIR(4251, 6992)      *%%% (90mm, 148mm)
  2186.         *MaxSize: PAIR(14400, 20410)    *%%% (304.8mm, 432mm)
  2187.         *MaxPrintableWidth: 14400
  2188.         *MinLeftMargin: 200
  2189.         *TopMargin: 200
  2190.         *BottomMargin: 200
  2191.         *switch: Orientation
  2192.         {
  2193.             *case: PORTRAIT
  2194.             {
  2195.                 *Command: CmdSelect
  2196.                 {
  2197.                     *Order: PAGE_SETUP.20
  2198.                     *Cmd: =ubyte =ePortraitOrientation =attr_ubyte =Orientation
  2199. +                         =uint16_xy %l{((PhysPaperWidth*254+600)/1200)}%l{((PhysPaperLength*254+600)/1200)} =attr_ubyte =CustomMediaSize
  2200. +                         =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  2201. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  2202.                 }
  2203.             }
  2204.             *case: LANDSCAPE_CC90
  2205.             {
  2206.                 *Command: CmdSelect
  2207.                 {
  2208.                     *Order: PAGE_SETUP.20
  2209.                     *Cmd: =ubyte =eLandscapeOrientation =attr_ubyte =Orientation
  2210. +                         =uint16_xy %l{((PhysPaperWidth*254+600)/1200)}%l{((PhysPaperLength*254+600)/1200)} =attr_ubyte =CustomMediaSize
  2211. +                         =ubyte =eTenthsOfAMillimeter =attr_ubyte =CustomMediaSizeUnits =BeginPage
  2212. +                         =sint16_xy %l{((200*TextXRes)/1200)}%l{((200*TextYRes)/1200)} =attr_ubyte =PageOrigin =SetPageOrigin
  2213.                 }
  2214.             }
  2215.         }
  2216.     }
  2217. }
  2218.  
  2219. *%======== Dither (PCL XL: custom feature) ========
  2220. *Feature: Dither
  2221. {
  2222.     *rcNameID: =RC_STR_DITHER_QUALITY
  2223.     *HelpIndex: =HLP_DITHER
  2224.     *DefaultOption: High
  2225.     *Option: High
  2226.     {
  2227.         *rcNameID: =RC_STR_HIGH
  2228.         *Command: CmdSelect
  2229.         {
  2230.             *Order: PAGE_SETUP.40
  2231.             *Cmd: =ubyte "<00>" =attr_ubyte =DitherMatrixDataType
  2232. +                 =uint16_xy "<10001000>" =attr_ubyte =DitherMatrixSize
  2233. +                 =ubyte "<02>" =attr_ubyte =DitherMatrixDepth
  2234. +                 =SetHalftoneMethod
  2235. +                 =dataLength "<00010000>"
  2236. +                 "<42786A3C2B1B1E2E4175673A2A1A1D2D>"
  2237. +                 "<88FDE8531703042484F8E35116030424>"
  2238. +                 "<99FFD45E1302072195FFCE5B12010721>"
  2239. +                 "<4ABFAB36280B0F3248BAA735270A0E31>"
  2240. +                 "<28171B2B3D6C5F3729191C2C3F716439>"
  2241. +                 "<130203227AEBD64B1502032380F3DE4E>"
  2242. +                 "<0F01051F8AFFC2551101062090FFC958>"
  2243. +                 "<2525080B2F43AE9B3226090D3046B5A234>"
  2244. +                 "<4073653A29191D2D4276693B2A1A1E2E>"
  2245. +                 "<82F5E1501502042386FAE65216030424>"
  2246. +                 "<92FFCC5A1101062097FFD15D12020721>"
  2247. +                 "<47B8A435260A0D3049BDA936270A0E31>"
  2248. +                 "<29181C2C3E6F623828181C2B3D6E6138>"
  2249. +                 "<140203237EF0DB4D140203227CEED94C>"
  2250. +                 "<1001051F8EFFC7571001051F8CFFC456>"
  2251. +                 "<26090C2F45B3A0342525080C2F44B09D33>"
  2252.         }
  2253.     }
  2254.     *Option: Low
  2255.     {
  2256.         *rcNameID: =RC_STR_LOW
  2257.     }
  2258. }
  2259.  
  2260. *%======== TrueType Font Download Format (PCL XL: custom feature) ========
  2261. *Feature: TrueTypeFormat
  2262. {
  2263.     *rcNameID: =RC_STR_TRUETYPE_FORMAT
  2264.     *HelpIndex: =HLP_TRUETYPE_FORMAT
  2265.     *DefaultOption: TTFDownloadAsBitmap
  2266. *%  *Option: TTFDownloadAsOutline
  2267. *%  {
  2268. *%      *rcNameID: =RC_STR_TRUETYPE_OUTLINE
  2269. *%  }
  2270.     *Option: TTFDownloadAsBitmap
  2271.     {
  2272.         *rcNameID: =RC_STR_TRUETYPE_BITMAP
  2273.     }
  2274.     *Option: TTFDownloadDisabled
  2275.     {
  2276.         *rcNameID: =RC_STR_TRUETYPE_DOWNLOADNONE
  2277.     }
  2278. }
  2279.  
  2280. *switch: TrueTypeFormat
  2281. {
  2282. *%  *case: TTFDownloadAsOutline
  2283. *%  {
  2284. *%      *FontFormat: HPPCL_OUTLINE
  2285. *%  }
  2286.     *case: TTFDownloadAsBitmap
  2287.     {
  2288.         *FontFormat: HPPCL
  2289.     }
  2290.     *case: TTFDownloadDisabled
  2291.     {
  2292.     }
  2293. }
  2294.  
  2295. *%======== StartPage (PCL XL) ========
  2296. *Command: CmdStartPage
  2297. {
  2298.     *Order: PAGE_SETUP.30
  2299.     *Cmd: =real32_xy "<0000803f><0000803f>" =attr_ubyte =PageScale =SetPageScale
  2300. +         =ubyte "<01>" =attr_ubyte =ColorSpace =SetColorSpace
  2301. }
  2302.  
  2303. *%======== EndPage (PCL XL Only) ========
  2304. *switch: Collate
  2305. {
  2306.     *case: OFF
  2307.     {
  2308.         *Command: CmdEndPage
  2309.         {
  2310.             *Order: PAGE_FINISH.10
  2311. *%          *Cmd: =uint16 =NumOfCopy =attr_ubyte =PageCopies =EndPage
  2312.             *CallbackID: =CMD_ENDPAGE_P6
  2313.             *Params: LIST(NumOfCopies)
  2314.         }
  2315.     }
  2316.     *case: ON
  2317.     {
  2318.         *Command: CmdEndPage
  2319.         {
  2320.             *Order: PAGE_FINISH.10
  2321.             *Cmd: =uint16 "<0100>" =attr_ubyte =PageCopies =EndPage
  2322.         }
  2323.     }
  2324. }
  2325.  
  2326. *%======== EndJob (PCL XL) ========
  2327. *Command: CmdEndJob
  2328. {
  2329.     *Order: JOB_FINISH.10
  2330. *%  *Cmd: =CloseDataSource =EndSession =PJL_ENDJOB
  2331.     *CallbackID: =CMD_ENDJOB_P6
  2332. }
  2333.  
  2334. *%======== Cursor Control (PCL XL) ========
  2335. *Command: CmdXMoveAbsolute { *Cmd: "" }
  2336. *Command: CmdXMoveRelRight
  2337. {
  2338.     *Cmd: ""
  2339.     *Params: LIST(DestXRel, TextXRes)
  2340. }
  2341. *Command: CmdXMoveRelLeft
  2342. {
  2343.     *Cmd: ""
  2344.     *Params: LIST(DestXRel, TextXRes)
  2345. }
  2346. *Command: CmdYMoveAbsolute
  2347. {
  2348.     *Cmd: ""
  2349.     *Params: LIST(DestY, TextYRes)
  2350. }
  2351. *Command: CmdYMoveRelDown
  2352. {
  2353.     *Cmd: ""
  2354.     *Params: LIST(DestYRel, TextYRes)
  2355. }
  2356. *Command: CmdYMoveRelUp
  2357. {
  2358.     *Cmd: ""
  2359.     *Params: LIST(DestYRel, TextYRes)
  2360. }
  2361. *Command: CmdCR { *Cmd: "" }
  2362. *Command: CmdLF { *Cmd: "" }
  2363. *Command: CmdFF { *Cmd: "" }
  2364.  
  2365. *%======== Font (PCL XL) ========
  2366. *MinFontID: 1
  2367. *%*MaxFontID: 65535
  2368. *MinGlyphID: 1
  2369. *MaxGlyphID: 1000
  2370. *%*FontFormat: HPPCL
  2371. *Command: CmdSetFontID { *Cmd : "" }
  2372. *Command: CmdSelectFontID
  2373. {
  2374.     *Cmd: ""
  2375.     *Params: LIST(FontHeight, CurrentFontID, TextYRes)
  2376. }
  2377. *Command: CmdSetCharCode { *Cmd : "" }
  2378. *Command: CmdBoldOn { *Cmd : "" }
  2379. *Command: CmdBoldOff { *Cmd : "" }
  2380. *Command: CmdSetAnyRotation
  2381. {
  2382.     *Cmd: ""
  2383.     *Params: LIST(PrintDirInCCDegrees)
  2384. }
  2385. *Command: CmdSetSimpleRotation
  2386. {
  2387.     *Cmd: ""
  2388.     *Params: LIST(PrintDirInCCDegrees)
  2389. }
  2390.  
  2391. *%======== Capabilities (PCL XL) ========
  2392. *EjectPageWithFF?: FALSE
  2393. *TextCaps: LIST(TC_CR_ANY,TC_CR_90,TC_SF_X_YINDEP,TC_SA_CONTIN,TC_IA_ABLE,TC_UA_ABLE)
  2394. *XMoveUnit: 1200
  2395. *YMoveUnit: 1200
  2396.  
  2397.  
  2398. *Else:  *%%% !RI_PCLXL
  2399. *%======== Resolution (PCL5e) ========
  2400. *Feature: Resolution
  2401. {
  2402.     *rcNameID: =RESOLUTION_DISPLAY
  2403.     *DefaultOption: 600dpi
  2404.     *Option: 600dpi
  2405.     {
  2406.         *rcNameID: =RC_STR_600DPI
  2407.         *DPI: PAIR(600, 600)
  2408.         *TextDPI: PAIR(600, 600)
  2409.         *MinStripBlankPixels: 32
  2410.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  2411.         *SpotDiameter: 100
  2412.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  2413.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  2414.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  2415.         *Command: CmdSelect
  2416.         {
  2417.             *Order: =PJL_SETUP_LAST
  2418.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t600R"
  2419. +                 "<1B>&u600D<1B>*r0F"
  2420.         }
  2421.     }
  2422.     *Option: 300dpi
  2423.     {
  2424.         *rcNameID: =RC_STR_300DPI
  2425.         *DPI: PAIR(300, 300)
  2426.         *TextDPI: PAIR(300, 300)
  2427.         *MinStripBlankPixels: 32
  2428.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  2429.         *SpotDiameter: 100
  2430.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  2431.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  2432.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  2433.         *Command: CmdSelect
  2434.         {
  2435.             *Order: =PJL_SETUP_LAST
  2436.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A1B>E<1B>*t300R"
  2437. +                 "<1B>&u600D<1B>*r0F"
  2438.         }
  2439.     }
  2440. }
  2441.  
  2442. *%======== Emit Orientation Command (PCL5e: CONCEALED) ========
  2443. *% NOTE:
  2444. *% Need to write "*NoPageEject?: TRUE" in orientation command emission
  2445. *% to print mixed-orientation document in duplex correctly. (2002/07/06)
  2446.  
  2447. *Feature: EmitOrientationCommand
  2448. {
  2449.     *Name: "Emit Orientation Command"
  2450.     *ConcealFromUI?: TRUE
  2451.     *DefaultOption: Option1
  2452.     *Option: Option1
  2453.     {
  2454.         *Name: "Emit Orientation Command"
  2455.         *switch: Orientation
  2456.         {
  2457.             *case: PORTRAIT
  2458.             {
  2459.                 *Command: CmdSelect
  2460.                 {
  2461.                     *Order: DOC_SETUP.25
  2462.                     *NoPageEject?: TRUE
  2463.                     *Cmd: "<1B>&l0O"
  2464.                 }
  2465.             }
  2466.             *case: LANDSCAPE_CC90
  2467.             {
  2468.                 *Command: CmdSelect
  2469.                 {
  2470.                     *Order: DOC_SETUP.25
  2471.                     *NoPageEject?: TRUE
  2472.                     *Cmd: "<1B>&l1O"
  2473.                 }
  2474.             }
  2475.         }
  2476.     }
  2477. }
  2478.  
  2479. *%======== InputBin (PCL5e) ========
  2480. *% NOTE:
  2481. *% On Win2000, *HelpIndex makes "Automatically Select" blank in UI.
  2482.  
  2483. *Feature: InputBin
  2484. {
  2485.     *rcNameID: =PAPER_SOURCE_DISPLAY
  2486. *%  *HelpIndex: =HLP_PAPER_SOURCE
  2487.     *DefaultOption: AUTO
  2488.     *Option: AUTO
  2489.     {
  2490.         *rcNameID: =RC_STR_AUTO_SELECT_BY_PRINTER
  2491.         *Command: CmdSelect
  2492.         {
  2493.             *Order: DOC_SETUP.30
  2494.             *Cmd: "<1B>&l7H"
  2495.         }
  2496.     }
  2497.     *Option: BypassTray
  2498.     {
  2499.         *rcNameID: =RC_STR_BYPASS_TRAY
  2500.         *OptionID: =RI_DMBIN_BYPASS_TRAY
  2501.         *Command: CmdSelect
  2502.         {
  2503.             *Order: DOC_SETUP.30
  2504.             *Cmd: "<1B>&l2H"
  2505.         }
  2506.     }
  2507.     *Option: Tray1
  2508.     {
  2509.         *rcNameID: =RC_STR_TRAY1
  2510.         *OptionID: =RI_DMBIN_TRAY1
  2511.         *Command: CmdSelect
  2512.         {
  2513.             *Order: DOC_SETUP.30
  2514.             *Cmd: "<1B>&l8H"
  2515.         }
  2516.     }
  2517.     *Option: Tray2
  2518.     {
  2519.         *rcNameID: =RC_STR_TRAY2
  2520.         *OptionID: =RI_DMBIN_TRAY2
  2521.         *Installable?: TRUE
  2522.         *rcInstallableFeatureNameID: =RC_STR_TRAY2
  2523.         *Command: CmdSelect
  2524.         {
  2525.             *Order: DOC_SETUP.30
  2526.             *Cmd: "<1B>&l1H"
  2527.         }
  2528.     }
  2529.     *Option: Tray3
  2530.     {
  2531.         *rcNameID: =RC_STR_TRAY3
  2532.         *OptionID: =RI_DMBIN_TRAY3
  2533.         *Installable?: TRUE
  2534.         *rcInstallableFeatureNameID: =RC_STR_TRAY3
  2535.         *Command: CmdSelect
  2536.         {
  2537.             *Order: DOC_SETUP.30
  2538.             *Cmd: "<1B>&l4H"
  2539.         }
  2540.     }
  2541. }
  2542.  
  2543. *%======== MediaType (PCL5e) ========
  2544. *Feature: MediaType
  2545. {
  2546.     *rcNameID: =MEDIA_TYPE_DISPLAY
  2547. *Ifdef: WINNT_51
  2548.     *HelpIndex: =HLP_MEDIA_TYPE
  2549. *Endif: *%%% WINNT_51
  2550.     *DefaultOption: Auto
  2551.     *Option: Auto
  2552.     {
  2553.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  2554.     }
  2555.     *Option: STANDARD
  2556.     {
  2557. *Ifdef: USE_QUOTED_STRING
  2558.         *Name: "Plain"
  2559. *Else:
  2560.         *rcNameID: =RC_STR_PLAIN
  2561. *Endif:
  2562.         *Command: CmdSelect
  2563.         {
  2564.             *Order: DOC_SETUP.35
  2565.             *Cmd: "<1B>&n6WdPlain"
  2566.         }
  2567.     }
  2568.     *Option: Recycled
  2569.     {
  2570. *Ifdef: USE_QUOTED_STRING
  2571.         *Name: "Recycled"
  2572. *Else:
  2573.         *rcNameID: =RC_STR_RECYCLED
  2574. *Endif:
  2575.         *Command: CmdSelect
  2576.         {
  2577.             *Order: DOC_SETUP.35
  2578.             *Cmd: "<1B>&n9WdRecycled"
  2579.         }
  2580.     }
  2581.     *Option: Special
  2582.     {
  2583. *Ifdef: USE_QUOTED_STRING
  2584.         *Name: "Special"
  2585. *Else:
  2586.         *rcNameID: =RC_STR_SPECIAL
  2587. *Endif:
  2588.         *Command: CmdSelect
  2589.         {
  2590.             *Order: DOC_SETUP.35
  2591.             *Cmd: "<1B>&n8WdSpecial"
  2592.         }
  2593.     }
  2594.     *Option: Thick
  2595.     {
  2596. *Ifdef: USE_QUOTED_STRING
  2597.         *Name: "Thick"
  2598. *Else:
  2599.         *rcNameID: =RC_STR_THICK
  2600. *Endif:
  2601.         *Command: CmdSelect
  2602.         {
  2603.             *Order: DOC_SETUP.35
  2604.             *Cmd: "<1B>&n6WdThick"
  2605.         }
  2606.     }
  2607.     *Option: TRANSPARENCY
  2608.     {
  2609.         *rcNameID: =TRANSPARENCY_DISPLAY
  2610.         *Command: CmdSelect
  2611.         {
  2612.             *Order: DOC_SETUP.35
  2613.             *Cmd: "<1B>&n13WdTransparency"
  2614.         }
  2615.     }
  2616.     *Option: Color
  2617.     {
  2618. *Ifdef: USE_QUOTED_STRING
  2619.         *Name: "Color"
  2620. *Else:
  2621.         *rcNameID: =RC_STR_COLOR
  2622. *Endif:
  2623.         *Command: CmdSelect
  2624.         {
  2625.             *Order: DOC_SETUP.35
  2626.             *Cmd: "<1B>&n6WdColor"
  2627.         }
  2628.     }
  2629.     *Option: Letterhead
  2630.     {
  2631. *Ifdef: USE_QUOTED_STRING
  2632.         *Name: "Letterhead"
  2633. *Else:
  2634.         *rcNameID: =RC_STR_LETTERHEAD
  2635. *Endif:
  2636.         *Command: CmdSelect
  2637.         {
  2638.             *Order: DOC_SETUP.35
  2639.             *Cmd: "<1B>&n11WdLetterhead"
  2640.         }
  2641.     }
  2642.     *Option: Preprinted
  2643.     {
  2644. *Ifdef: USE_QUOTED_STRING
  2645.         *Name: "Preprinted"
  2646. *Else:
  2647.         *rcNameID: =RC_STR_PREPRINTED
  2648. *Endif:
  2649.         *Command: CmdSelect
  2650.         {
  2651.             *Order: DOC_SETUP.35
  2652.             *Cmd: "<1B>&n11WdPreprinted"
  2653.         }
  2654.     }
  2655.     *Option: Prepunched
  2656.     {
  2657. *Ifdef: USE_QUOTED_STRING
  2658.         *Name: "Prepunched"
  2659. *Else:
  2660.         *rcNameID: =RC_STR_PREPUNCHED
  2661. *Endif:
  2662.         *Command: CmdSelect
  2663.         {
  2664.             *Order: DOC_SETUP.35
  2665.             *Cmd: "<1B>&n11WdPrepunched"
  2666.         }
  2667.     }
  2668.     *Option: Labels
  2669.     {
  2670. *Ifdef: USE_QUOTED_STRING
  2671.         *Name: "Labels"
  2672. *Else:
  2673.         *rcNameID: =RC_STR_LABELS
  2674. *Endif:
  2675.         *Command: CmdSelect
  2676.         {
  2677.             *Order: DOC_SETUP.35
  2678.             *Cmd: "<1B>&n7WdLabels"
  2679.         }
  2680.     }
  2681.     *Option: Bond
  2682.     {
  2683. *Ifdef: USE_QUOTED_STRING
  2684.         *Name: "Bond"
  2685. *Else:
  2686.         *rcNameID: =RC_STR_BOND
  2687. *Endif:
  2688.         *Command: CmdSelect
  2689.         {
  2690.             *Order: DOC_SETUP.35
  2691.             *Cmd: "<1B>&n5WdBond"
  2692.         }
  2693.     }
  2694.     *Option: Cardstock
  2695.     {
  2696. *Ifdef: USE_QUOTED_STRING
  2697.         *Name: "Cardstock"
  2698. *Else:
  2699.         *rcNameID: =RC_STR_CARDSTOCK
  2700. *Endif:
  2701.         *Command: CmdSelect
  2702.         {
  2703.             *Order: DOC_SETUP.35
  2704.             *Cmd: "<1B>&n10WdCardstock"
  2705.         }
  2706.     }
  2707. }
  2708.  
  2709. *%======== PaperSize (PCL5e) ========
  2710. *Feature: PaperSize
  2711. {
  2712.     *rcNameID: =PAPER_SIZE_DISPLAY
  2713.     *DefaultOption: LETTER
  2714.     *Option: 11X17
  2715.     {
  2716.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  2717.         *switch: EdgeToEdgePrint
  2718.         {
  2719.             *case: OFF
  2720.             {
  2721.                 *switch: Orientation
  2722.                 {
  2723.                     *case: PORTRAIT
  2724.                     {
  2725.                         *PrintableArea: PAIR(12576, 20000)
  2726.                         *PrintableOrigin: PAIR(300, 200)
  2727.                         *CursorOrigin: PAIR(300, 200)
  2728.                         *Command: CmdSelect
  2729.                         {
  2730.                             *Order: DOC_SETUP.40
  2731.                             *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t"
  2732. +                                 %d{((12576*6+5)/10)}"x" %d{((20000*6+5)/10)}"Y"
  2733.                         }
  2734.                     }
  2735.                     *case: LANDSCAPE_CC90
  2736.                     {
  2737.                         *PrintableArea: PAIR(12800, 19904)
  2738.                         *PrintableOrigin: PAIR(200, 256)
  2739.                         *CursorOrigin: PAIR(200, 20160)
  2740.                         *Command: CmdSelect
  2741.                         {
  2742.                             *Order: DOC_SETUP.40
  2743.                             *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t"
  2744. +                                 %d{((19904*6+5)/10)}"x" %d{((12800*6+5)/10)}"Y"
  2745.                         }
  2746.                     }
  2747.                 }
  2748.             }
  2749.             *case: ON
  2750.             {
  2751.                 *switch: Orientation
  2752.                 {
  2753.                     *case: PORTRAIT
  2754.                     {
  2755.                         *PrintableArea: PAIR(13088, 20304)
  2756.                         *PrintableOrigin: PAIR(56, 48)
  2757.                         *CursorOrigin: PAIR(56, 248)
  2758.                         *Command: CmdSelect
  2759.                         {
  2760.                             *Order: DOC_SETUP.40
  2761.                             *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t"
  2762. +                                 %d{((13088*6+5)/10)}"x" %d{((20304*6+5)/10)}"Y"
  2763.                         }
  2764.                     }
  2765.                     *case: LANDSCAPE_CC90
  2766.                     {
  2767.                         *PrintableArea: PAIR(13104, 20288)
  2768.                         *PrintableOrigin: PAIR(48, 56)
  2769.                         *CursorOrigin: PAIR(248, 20344)
  2770.                         *Command: CmdSelect
  2771.                         {
  2772.                             *Order: DOC_SETUP.40
  2773.                             *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t"
  2774. +                                 %d{((20288*6+5)/10)}"x" %d{((13104*6+5)/10)}"Y"
  2775.                         }
  2776.                     }
  2777.                 }
  2778.             }
  2779.         }
  2780.     }
  2781.     *Option: LEGAL
  2782.     {
  2783.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  2784.         *switch: EdgeToEdgePrint
  2785.         {
  2786.             *case: OFF
  2787.             {
  2788.                 *switch: Orientation
  2789.                 {
  2790.                     *case: PORTRAIT
  2791.                     {
  2792.                         *PrintableArea: PAIR(9600, 16400)
  2793.                         *PrintableOrigin: PAIR(300, 200)
  2794.                         *CursorOrigin: PAIR(300, 200)
  2795.                         *Command: CmdSelect
  2796.                         {
  2797.                             *Order: DOC_SETUP.40
  2798.                             *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t"
  2799. +                                 %d{((9600*6+5)/10)}"x" %d{((16400*6+5)/10)}"Y"
  2800.                         }
  2801.                     }
  2802.                     *case: LANDSCAPE_CC90
  2803.                     {
  2804.                         *PrintableArea: PAIR(9800, 16320)
  2805.                         *PrintableOrigin: PAIR(200, 240)
  2806.                         *CursorOrigin: PAIR(200, 16560)
  2807.                         *Command: CmdSelect
  2808.                         {
  2809.                             *Order: DOC_SETUP.40
  2810.                             *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t"
  2811. +                                 %d{((16320*6+5)/10)}"x" %d{((9800*6+5)/10)}"Y"
  2812.                         }
  2813.                     }
  2814.                 }
  2815.             }
  2816.             *case: ON
  2817.             {
  2818.                 *switch: Orientation
  2819.                 {
  2820.                     *case: PORTRAIT
  2821.                     {
  2822.                         *PrintableArea: PAIR(10080, 16704)
  2823.                         *PrintableOrigin: PAIR(60, 48)
  2824.                         *CursorOrigin: PAIR(60, 248)
  2825.                         *Command: CmdSelect
  2826.                         {
  2827.                             *Order: DOC_SETUP.40
  2828.                             *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t"
  2829. +                                 %d{((10080*6+5)/10)}"x" %d{((16704*6+5)/10)}"Y"
  2830.                         }
  2831.                     }
  2832.                     *case: LANDSCAPE_CC90
  2833.                     {
  2834.                         *PrintableArea: PAIR(10104, 16704)
  2835.                         *PrintableOrigin: PAIR(48, 48)
  2836.                         *CursorOrigin: PAIR(248, 16752)
  2837.                         *Command: CmdSelect
  2838.                         {
  2839.                             *Order: DOC_SETUP.40
  2840.                             *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t"
  2841. +                                 %d{((16704*6+5)/10)}"x" %d{((10104*6+5)/10)}"Y"
  2842.                         }
  2843.                     }
  2844.                 }
  2845.             }
  2846.         }
  2847.     }
  2848.     *Option: LETTER
  2849.     {
  2850.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  2851.         *switch: EdgeToEdgePrint
  2852.         {
  2853.             *case: OFF
  2854.             {
  2855.                 *switch: Orientation
  2856.                 {
  2857.                     *case: PORTRAIT
  2858.                     {
  2859.                         *PrintableArea: PAIR(9600, 12800)
  2860.                         *PrintableOrigin: PAIR(300, 200)
  2861.                         *CursorOrigin: PAIR(300, 200)
  2862.                         *Command: CmdSelect
  2863.                         {
  2864.                             *Order: DOC_SETUP.40
  2865.                             *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t"
  2866. +                                 %d{((9600*6+5)/10)}"x" %d{((12800*6+5)/10)}"Y"
  2867.                         }
  2868.                     }
  2869.                     *case: LANDSCAPE_CC90
  2870.                     {
  2871.                         *PrintableArea: PAIR(9800, 12704)
  2872.                         *PrintableOrigin: PAIR(200, 256)
  2873.                         *CursorOrigin: PAIR(200, 12960)
  2874.                         *Command: CmdSelect
  2875.                         {
  2876.                             *Order: DOC_SETUP.40
  2877.                             *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t"
  2878. +                                 %d{((12704*6+5)/10)}"x" %d{((9800*6+5)/10)}"Y"
  2879.                         }
  2880.                     }
  2881.                 }
  2882.             }
  2883.             *case: ON
  2884.             {
  2885.                 *switch: Orientation
  2886.                 {
  2887.                     *case: PORTRAIT
  2888.                     {
  2889.                         *PrintableArea: PAIR(10080, 13104)
  2890.                         *PrintableOrigin: PAIR(60, 48)
  2891.                         *CursorOrigin: PAIR(60, 248)
  2892.                         *Command: CmdSelect
  2893.                         {
  2894.                             *Order: DOC_SETUP.40
  2895.                             *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t"
  2896. +                                 %d{((10080*6+5)/10)}"x" %d{((13104*6+5)/10)}"Y"
  2897.                         }
  2898.                     }
  2899.                     *case: LANDSCAPE_CC90
  2900.                     {
  2901.                         *PrintableArea: PAIR(10104, 13088)
  2902.                         *PrintableOrigin: PAIR(48, 56)
  2903.                         *CursorOrigin: PAIR(248, 13144)
  2904.                         *Command: CmdSelect
  2905.                         {
  2906.                             *Order: DOC_SETUP.40
  2907.                             *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t"
  2908. +                                 %d{((13088*6+5)/10)}"x" %d{((10104*6+5)/10)}"Y"
  2909.                         }
  2910.                     }
  2911.                 }
  2912.             }
  2913.         }
  2914.     }
  2915.     *Option: EXECUTIVE
  2916.     {
  2917.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  2918.         *switch: EdgeToEdgePrint
  2919.         {
  2920.             *case: OFF
  2921.             {
  2922.                 *switch: Orientation
  2923.                 {
  2924.                     *case: PORTRAIT
  2925.                     {
  2926.                         *PrintableArea: PAIR(8096, 12200)
  2927.                         *PrintableOrigin: PAIR(300, 200)
  2928.                         *CursorOrigin: PAIR(300, 200)
  2929.                         *Command: CmdSelect
  2930.                         {
  2931.                             *Order: DOC_SETUP.40
  2932.                             *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t"
  2933. +                                 %d{((8096*6+5)/10)}"x" %d{((12200*6+5)/10)}"Y"
  2934.                         }
  2935.                     }
  2936.                     *case: LANDSCAPE_CC90
  2937.                     {
  2938.                         *PrintableArea: PAIR(8300, 12096)
  2939.                         *PrintableOrigin: PAIR(200, 264)
  2940.                         *CursorOrigin: PAIR(200, 12360)
  2941.                         *Command: CmdSelect
  2942.                         {
  2943.                             *Order: DOC_SETUP.40
  2944.                             *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t"
  2945. +                                 %d{((12096*6+5)/10)}"x" %d{((8300*6+5)/10)}"Y"
  2946.                         }
  2947.                     }
  2948.                 }
  2949.             }
  2950.             *case: ON
  2951.             {
  2952.                 *switch: Orientation
  2953.                 {
  2954.                     *case: PORTRAIT
  2955.                     {
  2956.                         *PrintableArea: PAIR(8576, 12504)
  2957.                         *PrintableOrigin: PAIR(60, 48)
  2958.                         *CursorOrigin: PAIR(60, 248)
  2959.                         *Command: CmdSelect
  2960.                         {
  2961.                             *Order: DOC_SETUP.40
  2962.                             *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t"
  2963. +                                 %d{((8576*6+5)/10)}"x" %d{((12504*6+5)/10)}"Y"
  2964.                         }
  2965.                     }
  2966.                     *case: LANDSCAPE_CC90
  2967.                     {
  2968.                         *PrintableArea: PAIR(8604, 12480)
  2969.                         *PrintableOrigin: PAIR(48, 60)
  2970.                         *CursorOrigin: PAIR(248, 12540)
  2971.                         *Command: CmdSelect
  2972.                         {
  2973.                             *Order: DOC_SETUP.40
  2974.                             *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t"
  2975. +                                 %d{((12480*6+5)/10)}"x" %d{((8604*6+5)/10)}"Y"
  2976.                         }
  2977.                     }
  2978.                 }
  2979.             }
  2980.         }
  2981.     }
  2982.     *Option: STATEMENT
  2983.     {
  2984.         *rcNameID: =RC_STR_5_5X8_5
  2985.         *switch: EdgeToEdgePrint
  2986.         {
  2987.             *case: OFF
  2988.             {
  2989.                 *switch: Orientation
  2990.                 {
  2991.                     *case: PORTRAIT
  2992.                     {
  2993.                         *PrintableArea: PAIR(5984, 9800)
  2994.                         *PrintableOrigin: PAIR(300, 200)
  2995.                         *CursorOrigin: PAIR(300, 200)
  2996.                         *Command: CmdSelect
  2997.                         {
  2998.                             *Order: DOC_SETUP.40
  2999.                             *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t"
  3000. +                                 %d{((5984*6+5)/10)}"x" %d{((9800*6+5)/10)}"Y"
  3001.                         }
  3002.                     }
  3003.                     *case: LANDSCAPE_CC90
  3004.                     {
  3005.                         *PrintableArea: PAIR(6200, 9696)
  3006.                         *PrintableOrigin: PAIR(200, 264)
  3007.                         *CursorOrigin: PAIR(200, 9960)
  3008.                         *Command: CmdSelect
  3009.                         {
  3010.                             *Order: DOC_SETUP.40
  3011.                             *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t"
  3012. +                                 %d{((9696*6+5)/10)}"x" %d{((6200*6+5)/10)}"Y"
  3013.                         }
  3014.                     }
  3015.                 }
  3016.             }
  3017.             *case: ON
  3018.             {
  3019.                 *switch: Orientation
  3020.                 {
  3021.                     *case: PORTRAIT
  3022.                     {
  3023.                         *PrintableArea: PAIR(6496, 10104)
  3024.                         *PrintableOrigin: PAIR(52, 48)
  3025.                         *CursorOrigin: PAIR(52, 248)
  3026.                         *Command: CmdSelect
  3027.                         {
  3028.                             *Order: DOC_SETUP.40
  3029.                             *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t"
  3030. +                                 %d{((6496*6+5)/10)}"x" %d{((10104*6+5)/10)}"Y"
  3031.                         }
  3032.                     }
  3033.                     *case: LANDSCAPE_CC90
  3034.                     {
  3035.                         *PrintableArea: PAIR(6504, 10080)
  3036.                         *PrintableOrigin: PAIR(48, 60)
  3037.                         *CursorOrigin: PAIR(248, 10140)
  3038.                         *Command: CmdSelect
  3039.                         {
  3040.                             *Order: DOC_SETUP.40
  3041.                             *Cmd: "<1B>&l2008a8c1E<1B>*p0x0Y<1B>*c0t"
  3042. +                                 %d{((10080*6+5)/10)}"x" %d{((6504*6+5)/10)}"Y"
  3043.                         }
  3044.                     }
  3045.                 }
  3046.             }
  3047.         }
  3048.     }
  3049.     *Option: A3
  3050.     {
  3051.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3052.         *switch: EdgeToEdgePrint
  3053.         {
  3054.             *case: OFF
  3055.             {
  3056.                 *switch: Orientation
  3057.                 {
  3058.                     *case: PORTRAIT
  3059.                     {
  3060.                         *PrintableArea: PAIR(13440, 19440)
  3061.                         *PrintableOrigin: PAIR(284, 200)
  3062.                         *CursorOrigin: PAIR(284, 200)
  3063.                         *Command: CmdSelect
  3064.                         {
  3065.                             *Order: DOC_SETUP.40
  3066.                             *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t"
  3067. +                                 %d{((13440*6+5)/10)}"x" %d{((19440*6+5)/10)}"Y"
  3068.                         }
  3069.                     }
  3070.                     *case: LANDSCAPE_CC90
  3071.                     {
  3072.                         *PrintableArea: PAIR(13628, 19360)
  3073.                         *PrintableOrigin: PAIR(200, 244)
  3074.                         *CursorOrigin: PAIR(200, 19604)
  3075.                         *Command: CmdSelect
  3076.                         {
  3077.                             *Order: DOC_SETUP.40
  3078.                             *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t"
  3079. +                                 %d{((19360*6+5)/10)}"x" %d{((13628*6+5)/10)}"Y"
  3080.                         }
  3081.                     }
  3082.                 }
  3083.             }
  3084.             *case: ON
  3085.             {
  3086.                 *switch: Orientation
  3087.                 {
  3088.                     *case: PORTRAIT
  3089.                     {
  3090.                         *PrintableArea: PAIR(13920, 19744)
  3091.                         *PrintableOrigin: PAIR(52, 48)
  3092.                         *CursorOrigin: PAIR(52, 248)
  3093.                         *Command: CmdSelect
  3094.                         {
  3095.                             *Order: DOC_SETUP.40
  3096.                             *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t"
  3097. +                                 %d{((13920*6+5)/10)}"x" %d{((19744*6+5)/10)}"Y"
  3098.                         }
  3099.                     }
  3100.                     *case: LANDSCAPE_CC90
  3101.                     {
  3102.                         *PrintableArea: PAIR(13932, 19744)
  3103.                         *PrintableOrigin: PAIR(48, 48)
  3104.                         *CursorOrigin: PAIR(248, 19792)
  3105.                         *Command: CmdSelect
  3106.                         {
  3107.                             *Order: DOC_SETUP.40
  3108.                             *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t"
  3109. +                                 %d{((19744*6+5)/10)}"x" %d{((13932*6+5)/10)}"Y"
  3110.                         }
  3111.                     }
  3112.                 }
  3113.             }
  3114.         }
  3115.     }
  3116.     *Option: A4
  3117.     {
  3118.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3119.         *switch: EdgeToEdgePrint
  3120.         {
  3121.             *case: OFF
  3122.             {
  3123.                 *switch: Orientation
  3124.                 {
  3125.                     *case: PORTRAIT
  3126.                     {
  3127.                         *PrintableArea: PAIR(9344, 13628)
  3128.                         *PrintableOrigin: PAIR(284, 200)
  3129.                         *CursorOrigin: PAIR(284, 200)
  3130.                         *Command: CmdSelect
  3131.                         {
  3132.                             *Order: DOC_SETUP.40
  3133.                             *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t"
  3134. +                                 %d{((9344*6+5)/10)}"x" %d{((13628*6+5)/10)}"Y"
  3135.                         }
  3136.                     }
  3137.                     *case: LANDSCAPE_CC90
  3138.                     {
  3139.                         *PrintableArea: PAIR(9520, 13536)
  3140.                         *PrintableOrigin: PAIR(200, 256)
  3141.                         *CursorOrigin: PAIR(200, 13792)
  3142.                         *Command: CmdSelect
  3143.                         {
  3144.                             *Order: DOC_SETUP.40
  3145.                             *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t"
  3146. +                                 %d{((13536*6+5)/10)}"x" %d{((9520*6+5)/10)}"Y"
  3147.                         }
  3148.                     }
  3149.                 }
  3150.             }
  3151.             *case: ON
  3152.             {
  3153.                 *switch: Orientation
  3154.                 {
  3155.                     *case: PORTRAIT
  3156.                     {
  3157.                         *PrintableArea: PAIR(9824, 13932)
  3158.                         *PrintableOrigin: PAIR(48, 48)
  3159.                         *CursorOrigin: PAIR(48, 248)
  3160.                         *Command: CmdSelect
  3161.                         {
  3162.                             *Order: DOC_SETUP.40
  3163.                             *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t"
  3164. +                                 %d{((9824*6+5)/10)}"x" %d{((13932*6+5)/10)}"Y"
  3165.                         }
  3166.                     }
  3167.                     *case: LANDSCAPE_CC90
  3168.                     {
  3169.                         *PrintableArea: PAIR(9824, 13920)
  3170.                         *PrintableOrigin: PAIR(48, 56)
  3171.                         *CursorOrigin: PAIR(248, 13976)
  3172.                         *Command: CmdSelect
  3173.                         {
  3174.                             *Order: DOC_SETUP.40
  3175.                             *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t"
  3176. +                                 %d{((13920*6+5)/10)}"x" %d{((9824*6+5)/10)}"Y"
  3177.                         }
  3178.                     }
  3179.                 }
  3180.             }
  3181.         }
  3182.     }
  3183.     *Option: A5
  3184.     {
  3185.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3186.         *switch: EdgeToEdgePrint
  3187.         {
  3188.             *case: OFF
  3189.             {
  3190.                 *switch: Orientation
  3191.                 {
  3192.                     *case: PORTRAIT
  3193.                     {
  3194.                         *PrintableArea: PAIR(6400, 9520)
  3195.                         *PrintableOrigin: PAIR(284, 200)
  3196.                         *CursorOrigin: PAIR(284, 200)
  3197.                         *Command: CmdSelect
  3198.                         {
  3199.                             *Order: DOC_SETUP.40
  3200.                             *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t"
  3201. +                                 %d{((6400*6+5)/10)}"x" %d{((9520*6+5)/10)}"Y"
  3202.                         }
  3203.                     }
  3204.                     *case: LANDSCAPE_CC90
  3205.                     {
  3206.                         *PrintableArea: PAIR(6592, 9440)
  3207.                         *PrintableOrigin: PAIR(200, 244)
  3208.                         *CursorOrigin: PAIR(200, 9684)
  3209.                         *Command: CmdSelect
  3210.                         {
  3211.                             *Order: DOC_SETUP.40
  3212.                             *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t"
  3213. +                                 %d{((9440*6+5)/10)}"x" %d{((6592*6+5)/10)}"Y"
  3214.                         }
  3215.                     }
  3216.                 }
  3217.             }
  3218.             *case: ON
  3219.             {
  3220.                 *switch: Orientation
  3221.                 {
  3222.                     *case: PORTRAIT
  3223.                     {
  3224.                         *PrintableArea: PAIR(6880, 9824)
  3225.                         *PrintableOrigin: PAIR(56, 48)
  3226.                         *CursorOrigin: PAIR(56, 248)
  3227.                         *Command: CmdSelect
  3228.                         {
  3229.                             *Order: DOC_SETUP.40
  3230.                             *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t"
  3231. +                                 %d{((6880*6+5)/10)}"x" %d{((9824*6+5)/10)}"Y"
  3232.                         }
  3233.                     }
  3234.                     *case: LANDSCAPE_CC90
  3235.                     {
  3236.                         *PrintableArea: PAIR(6896, 9824)
  3237.                         *PrintableOrigin: PAIR(48, 48)
  3238.                         *CursorOrigin: PAIR(248, 9872)
  3239.                         *Command: CmdSelect
  3240.                         {
  3241.                             *Order: DOC_SETUP.40
  3242.                             *Cmd: "<1B>&l2000a8c1E<1B>*p0x0Y<1B>*c0t"
  3243. +                                 %d{((9824*6+5)/10)}"x" %d{((6896*6+5)/10)}"Y"
  3244.                         }
  3245.                     }
  3246.                 }
  3247.             }
  3248.         }
  3249.     }
  3250.     *Option: A6
  3251.     {
  3252.         *rcNameID: =RC_STR_A6
  3253.         *PageDimensions: PAIR(4956, 6996)
  3254.         *switch: EdgeToEdgePrint
  3255.         {
  3256.             *case: OFF
  3257.             {
  3258.                 *switch: Orientation
  3259.                 {
  3260.                     *case: PORTRAIT
  3261.                     {
  3262.                         *PrintableArea: PAIR(4384, 6592)
  3263.                         *PrintableOrigin: PAIR(284, 200)
  3264.                         *CursorOrigin: PAIR(284, 200)
  3265.                         *Command: CmdSelect
  3266.                         {
  3267.                             *Order: DOC_SETUP.40
  3268.                             *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t"
  3269. +                                 %d{((4384*6+5)/10)}"x" %d{((6592*6+5)/10)}"Y"
  3270.                         }
  3271.                     }
  3272.                     *case: LANDSCAPE_CC90
  3273.                     {
  3274.                         *PrintableArea: PAIR(4560, 6496)
  3275.                         *PrintableOrigin: PAIR(200, 260)
  3276.                         *CursorOrigin: PAIR(200, 6756)
  3277.                         *Command: CmdSelect
  3278.                         {
  3279.                             *Order: DOC_SETUP.40
  3280.                             *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t"
  3281. +                                 %d{((6496*6+5)/10)}"x" %d{((4560*6+5)/10)}"Y"
  3282.                         }
  3283.                     }
  3284.                 }
  3285.             }
  3286.             *case: ON
  3287.             {
  3288.                 *switch: Orientation
  3289.                 {
  3290.                     *case: PORTRAIT
  3291.                     {
  3292.                         *PrintableArea: PAIR(4864, 6896)
  3293.                         *PrintableOrigin: PAIR(48, 48)
  3294.                         *CursorOrigin: PAIR(48, 248)
  3295.                         *Command: CmdSelect
  3296.                         {
  3297.                             *Order: DOC_SETUP.40
  3298.                             *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t"
  3299. +                                 %d{((4864*6+5)/10)}"x" %d{((6896*6+5)/10)}"Y"
  3300.                         }
  3301.                     }
  3302.                     *case: LANDSCAPE_CC90
  3303.                     {
  3304.                         *PrintableArea: PAIR(4864, 6880)
  3305.                         *PrintableOrigin: PAIR(48, 56)
  3306.                         *CursorOrigin: PAIR(248, 6936)
  3307.                         *Command: CmdSelect
  3308.                         {
  3309.                             *Order: DOC_SETUP.40
  3310.                             *Cmd: "<1B>&l2001a8c1E<1B>*p0x0Y<1B>*c0t"
  3311. +                                 %d{((6880*6+5)/10)}"x" %d{((4864*6+5)/10)}"Y"
  3312.                         }
  3313.                     }
  3314.                 }
  3315.             }
  3316.         }
  3317.     }
  3318.     *Option: B4
  3319.     {
  3320.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3321.         *switch: EdgeToEdgePrint
  3322.         {
  3323.             *case: OFF
  3324.             {
  3325.                 *switch: Orientation
  3326.                 {
  3327.                     *case: PORTRAIT
  3328.                     {
  3329.                         *PrintableArea: PAIR(11552, 16796)
  3330.                         *PrintableOrigin: PAIR(284, 200)
  3331.                         *CursorOrigin: PAIR(284, 200)
  3332.                         *Command: CmdSelect
  3333.                         {
  3334.                             *Order: DOC_SETUP.40
  3335.                             *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t"
  3336. +                                 %d{((11552*6+5)/10)}"x" %d{((16796*6+5)/10)}"Y"
  3337.                         }
  3338.                     }
  3339.                     *case: LANDSCAPE_CC90
  3340.                     {
  3341.                         *PrintableArea: PAIR(11740, 16704)
  3342.                         *PrintableOrigin: PAIR(200, 256)
  3343.                         *CursorOrigin: PAIR(200, 16960)
  3344.                         *Command: CmdSelect
  3345.                         {
  3346.                             *Order: DOC_SETUP.40
  3347.                             *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t"
  3348. +                                 %d{((16704*6+5)/10)}"x" %d{((11740*6+5)/10)}"Y"
  3349.                         }
  3350.                     }
  3351.                 }
  3352.             }
  3353.             *case: ON
  3354.             {
  3355.                 *switch: Orientation
  3356.                 {
  3357.                     *case: PORTRAIT
  3358.                     {
  3359.                         *PrintableArea: PAIR(12032, 17100)
  3360.                         *PrintableOrigin: PAIR(52, 48)
  3361.                         *CursorOrigin: PAIR(52, 248)
  3362.                         *Command: CmdSelect
  3363.                         {
  3364.                             *Order: DOC_SETUP.40
  3365.                             *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t"
  3366. +                                 %d{((12032*6+5)/10)}"x" %d{((17100*6+5)/10)}"Y"
  3367.                         }
  3368.                     }
  3369.                     *case: LANDSCAPE_CC90
  3370.                     {
  3371.                         *PrintableArea: PAIR(12044, 17088)
  3372.                         *PrintableOrigin: PAIR(48, 56)
  3373.                         *CursorOrigin: PAIR(248, 17144)
  3374.                         *Command: CmdSelect
  3375.                         {
  3376.                             *Order: DOC_SETUP.40
  3377.                             *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t"
  3378. +                                 %d{((17088*6+5)/10)}"x" %d{((12044*6+5)/10)}"Y"
  3379.                         }
  3380.                     }
  3381.                 }
  3382.             }
  3383.         }
  3384.     }
  3385.     *Option: B5
  3386.     {
  3387.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3388.         *switch: EdgeToEdgePrint
  3389.         {
  3390.             *case: OFF
  3391.             {
  3392.                 *switch: Orientation
  3393.                 {
  3394.                     *case: PORTRAIT
  3395.                     {
  3396.                         *PrintableArea: PAIR(8000, 11740)
  3397.                         *PrintableOrigin: PAIR(284, 200)
  3398.                         *CursorOrigin: PAIR(284, 200)
  3399.                         *Command: CmdSelect
  3400.                         {
  3401.                             *Order: DOC_SETUP.40
  3402.                             *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t"
  3403. +                                 %d{((8000*6+5)/10)}"x" %d{((11740*6+5)/10)}"Y"
  3404.                         }
  3405.                     }
  3406.                     *case: LANDSCAPE_CC90
  3407.                     {
  3408.                         *PrintableArea: PAIR(8196, 11648)
  3409.                         *PrintableOrigin: PAIR(200, 256)
  3410.                         *CursorOrigin: PAIR(200, 11904)
  3411.                         *Command: CmdSelect
  3412.                         {
  3413.                             *Order: DOC_SETUP.40
  3414.                             *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t"
  3415. +                                 %d{((11648*6+5)/10)}"x" %d{((8196*6+5)/10)}"Y"
  3416.                         }
  3417.                     }
  3418.                 }
  3419.             }
  3420.             *case: ON
  3421.             {
  3422.                 *switch: Orientation
  3423.                 {
  3424.                     *case: PORTRAIT
  3425.                     {
  3426.                         *PrintableArea: PAIR(8480, 12044)
  3427.                         *PrintableOrigin: PAIR(56, 48)
  3428.                         *CursorOrigin: PAIR(56, 248)
  3429.                         *Command: CmdSelect
  3430.                         {
  3431.                             *Order: DOC_SETUP.40
  3432.                             *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t"
  3433. +                                 %d{((8480*6+5)/10)}"x" %d{((12044*6+5)/10)}"Y"
  3434.                         }
  3435.                     }
  3436.                     *case: LANDSCAPE_CC90
  3437.                     {
  3438.                         *PrintableArea: PAIR(8500, 12032)
  3439.                         *PrintableOrigin: PAIR(48, 56)
  3440.                         *CursorOrigin: PAIR(248, 12088)
  3441.                         *Command: CmdSelect
  3442.                         {
  3443.                             *Order: DOC_SETUP.40
  3444.                             *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t"
  3445. +                                 %d{((12032*6+5)/10)}"x" %d{((8500*6+5)/10)}"Y"
  3446.                         }
  3447.                     }
  3448.                 }
  3449.             }
  3450.         }
  3451.     }
  3452.     *Option: ENV_10
  3453.     {
  3454.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3455.         *switch: EdgeToEdgePrint
  3456.         {
  3457.             *case: OFF
  3458.             {
  3459.                 *switch: Orientation
  3460.                 {
  3461.                     *case: PORTRAIT
  3462.                     {
  3463.                         *PrintableArea: PAIR(4320, 11000)
  3464.                         *PrintableOrigin: PAIR(300, 200)
  3465.                         *CursorOrigin: PAIR(300, 200)
  3466.                         *Command: CmdSelect
  3467.                         {
  3468.                             *Order: DOC_SETUP.40
  3469.                             *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t"
  3470. +                                 %d{((4320*6+5)/10)}"x" %d{((11000*6+5)/10)}"Y"
  3471.                         }
  3472.                     }
  3473.                     *case: LANDSCAPE_CC90
  3474.                     {
  3475.                         *PrintableArea: PAIR(4548, 10912)
  3476.                         *PrintableOrigin: PAIR(200, 248)
  3477.                         *CursorOrigin: PAIR(200, 11160)
  3478.                         *Command: CmdSelect
  3479.                         {
  3480.                             *Order: DOC_SETUP.40
  3481.                             *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t"
  3482. +                                 %d{((10912*6+5)/10)}"x" %d{((4548*6+5)/10)}"Y"
  3483.                         }
  3484.                     }
  3485.                 }
  3486.             }
  3487.             *case: ON
  3488.             {
  3489.                 *switch: Orientation
  3490.                 {
  3491.                     *case: PORTRAIT
  3492.                     {
  3493.                         *PrintableArea: PAIR(4832, 11304)
  3494.                         *PrintableOrigin: PAIR(56, 48)
  3495.                         *CursorOrigin: PAIR(56, 248)
  3496.                         *Command: CmdSelect
  3497.                         {
  3498.                             *Order: DOC_SETUP.40
  3499.                             *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t"
  3500. +                                 %d{((4832*6+5)/10)}"x" %d{((11304*6+5)/10)}"Y"
  3501.                         }
  3502.                     }
  3503.                     *case: LANDSCAPE_CC90
  3504.                     {
  3505.                         *PrintableArea: PAIR(4852, 11296)
  3506.                         *PrintableOrigin: PAIR(48, 52)
  3507.                         *CursorOrigin: PAIR(248, 11348)
  3508.                         *Command: CmdSelect
  3509.                         {
  3510.                             *Order: DOC_SETUP.40
  3511.                             *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t"
  3512. +                                 %d{((11296*6+5)/10)}"x" %d{((4852*6+5)/10)}"Y"
  3513.                         }
  3514.                     }
  3515.                 }
  3516.             }
  3517.         }
  3518.     }
  3519.     *Option: ENV_DL
  3520.     {
  3521.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3522.         *switch: EdgeToEdgePrint
  3523.         {
  3524.             *case: OFF
  3525.             {
  3526.                 *switch: Orientation
  3527.                 {
  3528.                     *case: PORTRAIT
  3529.                     {
  3530.                         *PrintableArea: PAIR(4608, 9992)
  3531.                         *PrintableOrigin: PAIR(284, 200)
  3532.                         *CursorOrigin: PAIR(284, 200)
  3533.                         *Command: CmdSelect
  3534.                         {
  3535.                             *Order: DOC_SETUP.40
  3536.                             *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t"
  3537. +                                 %d{((4608*6+5)/10)}"x" %d{((9992*6+5)/10)}"Y"
  3538.                         }
  3539.                     }
  3540.                     *case: LANDSCAPE_CC90
  3541.                     {
  3542.                         *PrintableArea: PAIR(4796, 9920)
  3543.                         *PrintableOrigin: PAIR(200, 236)
  3544.                         *CursorOrigin: PAIR(200, 10156)
  3545.                         *Command: CmdSelect
  3546.                         {
  3547.                             *Order: DOC_SETUP.40
  3548.                             *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t"
  3549. +                                 %d{((9920*6+5)/10)}"x" %d{((4796*6+5)/10)}"Y"
  3550.                         }
  3551.                     }
  3552.                 }
  3553.             }
  3554.             *case: ON
  3555.             {
  3556.                 *switch: Orientation
  3557.                 {
  3558.                     *case: PORTRAIT
  3559.                     {
  3560.                         *PrintableArea: PAIR(5088, 10296)
  3561.                         *PrintableOrigin: PAIR(52, 48)
  3562.                         *CursorOrigin: PAIR(52, 248)
  3563.                         *Command: CmdSelect
  3564.                         {
  3565.                             *Order: DOC_SETUP.40
  3566.                             *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t"
  3567. +                                 %d{((5088*6+5)/10)}"x" %d{((10296*6+5)/10)}"Y"
  3568.                         }
  3569.                     }
  3570.                     *case: LANDSCAPE_CC90
  3571.                     {
  3572.                         *PrintableArea: PAIR(5100, 10272)
  3573.                         *PrintableOrigin: PAIR(48, 60)
  3574.                         *CursorOrigin: PAIR(248, 10332)
  3575.                         *Command: CmdSelect
  3576.                         {
  3577.                             *Order: DOC_SETUP.40
  3578.                             *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t"
  3579. +                                 %d{((10272*6+5)/10)}"x" %d{((5100*6+5)/10)}"Y"
  3580.                         }
  3581.                     }
  3582.                 }
  3583.             }
  3584.         }
  3585.     }
  3586.     *Option: ENV_MONARCH
  3587.     {
  3588.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3589.         *switch: EdgeToEdgePrint
  3590.         {
  3591.             *case: OFF
  3592.             {
  3593.                 *switch: Orientation
  3594.                 {
  3595.                     *case: PORTRAIT
  3596.                     {
  3597.                         *PrintableArea: PAIR(4032, 8600)
  3598.                         *PrintableOrigin: PAIR(300, 200)
  3599.                         *CursorOrigin: PAIR(300, 200)
  3600.                         *Command: CmdSelect
  3601.                         {
  3602.                             *Order: DOC_SETUP.40
  3603.                             *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t"
  3604. +                                 %d{((4032*6+5)/10)}"x" %d{((8600*6+5)/10)}"Y"
  3605.                         }
  3606.                     }
  3607.                     *case: LANDSCAPE_CC90
  3608.                     {
  3609.                         *PrintableArea: PAIR(4248, 8512)
  3610.                         *PrintableOrigin: PAIR(200, 248)
  3611.                         *CursorOrigin: PAIR(200, 8760)
  3612.                         *Command: CmdSelect
  3613.                         {
  3614.                             *Order: DOC_SETUP.40
  3615.                             *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t"
  3616. +                                 %d{((8512*6+5)/10)}"x" %d{((4248*6+5)/10)}"Y"
  3617.                         }
  3618.                     }
  3619.                 }
  3620.             }
  3621.             *case: ON
  3622.             {
  3623.                 *switch: Orientation
  3624.                 {
  3625.                     *case: PORTRAIT
  3626.                     {
  3627.                         *PrintableArea: PAIR(4544, 8904)
  3628.                         *PrintableOrigin: PAIR(52, 48)
  3629.                         *CursorOrigin: PAIR(52, 248)
  3630.                         *Command: CmdSelect
  3631.                         {
  3632.                             *Order: DOC_SETUP.40
  3633.                             *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t"
  3634. +                                 %d{((4544*6+5)/10)}"x" %d{((8904*6+5)/10)}"Y"
  3635.                         }
  3636.                     }
  3637.                     *case: LANDSCAPE_CC90
  3638.                     {
  3639.                         *PrintableArea: PAIR(4552, 8896)
  3640.                         *PrintableOrigin: PAIR(48, 52)
  3641.                         *CursorOrigin: PAIR(248, 8948)
  3642.                         *Command: CmdSelect
  3643.                         {
  3644.                             *Order: DOC_SETUP.40
  3645.                             *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t"
  3646. +                                 %d{((8896*6+5)/10)}"x" %d{((4552*6+5)/10)}"Y"
  3647.                         }
  3648.                     }
  3649.                 }
  3650.             }
  3651.         }
  3652.     }
  3653.     *Option: ENV_C5
  3654.     {
  3655.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3656.         *switch: EdgeToEdgePrint
  3657.         {
  3658.             *case: OFF
  3659.             {
  3660.                 *switch: Orientation
  3661.                 {
  3662.                     *case: PORTRAIT
  3663.                     {
  3664.                         *PrintableArea: PAIR(7072, 10416)
  3665.                         *PrintableOrigin: PAIR(284, 200)
  3666.                         *CursorOrigin: PAIR(284, 200)
  3667.                         *Command: CmdSelect
  3668.                         {
  3669.                             *Order: DOC_SETUP.40
  3670.                             *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t"
  3671. +                                 %d{((7072*6+5)/10)}"x" %d{((10416*6+5)/10)}"Y"
  3672.                         }
  3673.                     }
  3674.                     *case: LANDSCAPE_CC90
  3675.                     {
  3676.                         *PrintableArea: PAIR(7252, 10336)
  3677.                         *PrintableOrigin: PAIR(200, 244)
  3678.                         *CursorOrigin: PAIR(200, 10580)
  3679.                         *Command: CmdSelect
  3680.                         {
  3681.                             *Order: DOC_SETUP.40
  3682.                             *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t"
  3683. +                                 %d{((10336*6+5)/10)}"x" %d{((7252*6+5)/10)}"Y"
  3684.                         }
  3685.                     }
  3686.                 }
  3687.             }
  3688.             *case: ON
  3689.             {
  3690.                 *switch: Orientation
  3691.                 {
  3692.                     *case: PORTRAIT
  3693.                     {
  3694.                         *PrintableArea: PAIR(7552, 10720)
  3695.                         *PrintableOrigin: PAIR(48, 48)
  3696.                         *CursorOrigin: PAIR(48, 248)
  3697.                         *Command: CmdSelect
  3698.                         {
  3699.                             *Order: DOC_SETUP.40
  3700.                             *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t"
  3701. +                                 %d{((7552*6+5)/10)}"x" %d{((10720*6+5)/10)}"Y"
  3702.                         }
  3703.                     }
  3704.                     *case: LANDSCAPE_CC90
  3705.                     {
  3706.                         *PrintableArea: PAIR(7556, 10720)
  3707.                         *PrintableOrigin: PAIR(48, 48)
  3708.                         *CursorOrigin: PAIR(248, 10768)
  3709.                         *Command: CmdSelect
  3710.                         {
  3711.                             *Order: DOC_SETUP.40
  3712.                             *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t"
  3713. +                                 %d{((10720*6+5)/10)}"x" %d{((7556*6+5)/10)}"Y"
  3714.                         }
  3715.                     }
  3716.                 }
  3717.             }
  3718.         }
  3719.     }
  3720.     *Option: ENV_C6
  3721.     {
  3722.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  3723.         *switch: EdgeToEdgePrint
  3724.         {
  3725.             *case: OFF
  3726.             {
  3727.                 *switch: Orientation
  3728.                 {
  3729.                     *case: PORTRAIT
  3730.                     {
  3731.                         *PrintableArea: PAIR(4800, 7252)
  3732.                         *PrintableOrigin: PAIR(284, 200)
  3733.                         *CursorOrigin: PAIR(284, 200)
  3734.                         *Command: CmdSelect
  3735.                         {
  3736.                             *Order: DOC_SETUP.40
  3737.                             *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t"
  3738. +                                 %d{((4800*6+5)/10)}"x" %d{((7252*6+5)/10)}"Y"
  3739.                         }
  3740.                     }
  3741.                     *case: LANDSCAPE_CC90
  3742.                     {
  3743.                         *PrintableArea: PAIR(4984, 7168)
  3744.                         *PrintableOrigin: PAIR(200, 248)
  3745.                         *CursorOrigin: PAIR(200, 7416)
  3746.                         *Command: CmdSelect
  3747.                         {
  3748.                             *Order: DOC_SETUP.40
  3749.                             *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t"
  3750. +                                 %d{((7168*6+5)/10)}"x" %d{((4984*6+5)/10)}"Y"
  3751.                         }
  3752.                     }
  3753.                 }
  3754.             }
  3755.             *case: ON
  3756.             {
  3757.                 *switch: Orientation
  3758.                 {
  3759.                     *case: PORTRAIT
  3760.                     {
  3761.                         *PrintableArea: PAIR(5280, 7556)
  3762.                         *PrintableOrigin: PAIR(52, 48)
  3763.                         *CursorOrigin: PAIR(52, 248)
  3764.                         *Command: CmdSelect
  3765.                         {
  3766.                             *Order: DOC_SETUP.40
  3767.                             *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t"
  3768. +                                 %d{((5280*6+5)/10)}"x" %d{((7556*6+5)/10)}"Y"
  3769.                         }
  3770.                     }
  3771.                     *case: LANDSCAPE_CC90
  3772.                     {
  3773.                         *PrintableArea: PAIR(5228, 7552)
  3774.                         *PrintableOrigin: PAIR(48, 52)
  3775.                         *CursorOrigin: PAIR(248, 7604)
  3776.                         *Command: CmdSelect
  3777.                         {
  3778.                             *Order: DOC_SETUP.40
  3779.                             *Cmd: "<1B>&l2022a8c1E<1B>*p0x0Y<1B>*c0t"
  3780. +                                 %d{((7552*6+5)/10)}"x" %d{((5228*6+5)/10)}"Y"
  3781.                         }
  3782.                     }
  3783.                 }
  3784.             }
  3785.         }
  3786.     }
  3787.     *Option: FOLIO
  3788.     {
  3789.         *rcNameID: =RC_STR_8_5X13
  3790.         *switch: EdgeToEdgePrint
  3791.         {
  3792.             *case: OFF
  3793.             {
  3794.                 *switch: Orientation
  3795.                 {
  3796.                     *case: PORTRAIT
  3797.                     {
  3798.                         *PrintableArea: PAIR(9600, 15200)
  3799.                         *PrintableOrigin: PAIR(300, 200)
  3800.                         *CursorOrigin: PAIR(300, 200)
  3801.                         *Command: CmdSelect
  3802.                         {
  3803.                             *Order: DOC_SETUP.40
  3804.                             *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t"
  3805. +                                 %d{((9600*6+5)/10)}"x" %d{((15200*6+5)/10)}"Y"
  3806.                         }
  3807.                     }
  3808.                     *case: LANDSCAPE_CC90
  3809.                     {
  3810.                         *PrintableArea: PAIR(9800, 15104)
  3811.                         *PrintableOrigin: PAIR(200, 256)
  3812.                         *CursorOrigin: PAIR(200, 15360)
  3813.                         *Command: CmdSelect
  3814.                         {
  3815.                             *Order: DOC_SETUP.40
  3816.                             *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t"
  3817. +                                 %d{((15104*6+5)/10)}"x" %d{((9800*6+5)/10)}"Y"
  3818.                         }
  3819.                     }
  3820.                 }
  3821.             }
  3822.             *case: ON
  3823.             {
  3824.                 *switch: Orientation
  3825.                 {
  3826.                     *case: PORTRAIT
  3827.                     {
  3828.                         *PrintableArea: PAIR(10080, 15504)
  3829.                         *PrintableOrigin: PAIR(60, 48)
  3830.                         *CursorOrigin: PAIR(60, 248)
  3831.                         *Command: CmdSelect
  3832.                         {
  3833.                             *Order: DOC_SETUP.40
  3834.                             *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t"
  3835. +                                 %d{((10080*6+5)/10)}"x" %d{((15504*6+5)/10)}"Y"
  3836.                         }
  3837.                     }
  3838.                     *case: LANDSCAPE_CC90
  3839.                     {
  3840.                         *PrintableArea: PAIR(10104, 15488)
  3841.                         *PrintableOrigin: PAIR(48, 56)
  3842.                         *CursorOrigin: PAIR(248, 15544)
  3843.                         *Command: CmdSelect
  3844.                         {
  3845.                             *Order: DOC_SETUP.40
  3846.                             *Cmd: "<1B>&l2007a8c1E<1B>*p0x0Y<1B>*c0t"
  3847. +                                 %d{((15488*6+5)/10)}"x" %d{((10104*6+5)/10)}"Y"
  3848.                         }
  3849.                     }
  3850.                 }
  3851.             }
  3852.         }
  3853.     }
  3854.     *Option: 8_25x13
  3855.     {
  3856.         *rcNameID: =RC_STR_8_25X13
  3857.         *PageDimensions: PAIR(9900, 15600)
  3858.         *switch: EdgeToEdgePrint
  3859.         {
  3860.             *case: OFF
  3861.             {
  3862.                 *switch: Orientation
  3863.                 {
  3864.                     *case: PORTRAIT
  3865.                     {
  3866.                         *PrintableArea: PAIR(9280, 15200)
  3867.                         *PrintableOrigin: PAIR(300, 200)
  3868.                         *CursorOrigin: PAIR(300, 200)
  3869.                         *Command: CmdSelect
  3870.                         {
  3871.                             *Order: DOC_SETUP.40
  3872.                             *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t"
  3873. +                                 %d{((9280*6+5)/10)}"x" %d{((15200*6+5)/10)}"Y"
  3874.                         }
  3875.                     }
  3876.                     *case: LANDSCAPE_CC90
  3877.                     {
  3878.                         *PrintableArea: PAIR(9500, 15104)
  3879.                         *PrintableOrigin: PAIR(200, 256)
  3880.                         *CursorOrigin: PAIR(200, 15360)
  3881.                         *Command: CmdSelect
  3882.                         {
  3883.                             *Order: DOC_SETUP.40
  3884.                             *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t"
  3885. +                                 %d{((15104*6+5)/10)}"x" %d{((9500*6+5)/10)}"Y"
  3886.                         }
  3887.                     }
  3888.                 }
  3889.             }
  3890.             *case: ON
  3891.             {
  3892.                 *switch: Orientation
  3893.                 {
  3894.                     *case: PORTRAIT
  3895.                     {
  3896.                         *PrintableArea: PAIR(9792, 15504)
  3897.                         *PrintableOrigin: PAIR(52, 48)
  3898.                         *CursorOrigin: PAIR(52, 248)
  3899.                         *Command: CmdSelect
  3900.                         {
  3901.                             *Order: DOC_SETUP.40
  3902.                             *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t"
  3903. +                                 %d{((9792*6+5)/10)}"x" %d{((15504*6+5)/10)}"Y"
  3904.                         }
  3905.                     }
  3906.                     *case: LANDSCAPE_CC90
  3907.                     {
  3908.                         *PrintableArea: PAIR(9804, 15488)
  3909.                         *PrintableOrigin: PAIR(48, 56)
  3910.                         *CursorOrigin: PAIR(248, 15544)
  3911.                         *Command: CmdSelect
  3912.                         {
  3913.                             *Order: DOC_SETUP.40
  3914.                             *Cmd: "<1B>&l2012a8c1E<1B>*p0x0Y<1B>*c0t"
  3915. +                                 %d{((15488*6+5)/10)}"x" %d{((9804*6+5)/10)}"Y"
  3916.                         }
  3917.                     }
  3918.                 }
  3919.             }
  3920.         }
  3921.     }
  3922.     *Option: 8x13
  3923.     {
  3924.         *rcNameID: =RC_STR_8X13
  3925.         *PageDimensions: PAIR(9600, 15600)
  3926.         *switch: EdgeToEdgePrint
  3927.         {
  3928.             *case: OFF
  3929.             {
  3930.                 *switch: Orientation
  3931.                 {
  3932.                     *case: PORTRAIT
  3933.                     {
  3934.                         *PrintableArea: PAIR(8992, 15200)
  3935.                         *PrintableOrigin: PAIR(300, 200)
  3936.                         *CursorOrigin: PAIR(300, 200)
  3937.                         *Command: CmdSelect
  3938.                         {
  3939.                             *Order: DOC_SETUP.40
  3940.                             *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t"
  3941. +                                 %d{((8992*6+5)/10)}"x" %d{((15200*6+5)/10)}"Y"
  3942.                         }
  3943.                     }
  3944.                     *case: LANDSCAPE_CC90
  3945.                     {
  3946.                         *PrintableArea: PAIR(9200, 15104)
  3947.                         *PrintableOrigin: PAIR(200, 256)
  3948.                         *CursorOrigin: PAIR(200, 15360)
  3949.                         *Command: CmdSelect
  3950.                         {
  3951.                             *Order: DOC_SETUP.40
  3952.                             *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t"
  3953. +                                 %d{((15104*6+5)/10)}"x" %d{((9200*6+5)/10)}"Y"
  3954.                         }
  3955.                     }
  3956.                 }
  3957.             }
  3958.             *case: ON
  3959.             {
  3960.                 *switch: Orientation
  3961.                 {
  3962.                     *case: PORTRAIT
  3963.                     {
  3964.                         *PrintableArea: PAIR(9504, 15504)
  3965.                         *PrintableOrigin: PAIR(48, 48)
  3966.                         *CursorOrigin: PAIR(48, 248)
  3967.                         *Command: CmdSelect
  3968.                         {
  3969.                             *Order: DOC_SETUP.40
  3970.                             *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t"
  3971. +                                 %d{((9504*6+5)/10)}"x" %d{((15504*6+5)/10)}"Y"
  3972.                         }
  3973.                     }
  3974.                     *case: LANDSCAPE_CC90
  3975.                     {
  3976.                         *PrintableArea: PAIR(9504, 15488)
  3977.                         *PrintableOrigin: PAIR(48, 56)
  3978.                         *CursorOrigin: PAIR(248, 15544)
  3979.                         *Command: CmdSelect
  3980.                         {
  3981.                             *Order: DOC_SETUP.40
  3982.                             *Cmd: "<1B>&l2011a8c1E<1B>*p0x0Y<1B>*c0t"
  3983. +                                 %d{((15488*6+5)/10)}"x" %d{((9504*6+5)/10)}"Y"
  3984.                         }
  3985.                     }
  3986.                 }
  3987.             }
  3988.         }
  3989.     }
  3990.     *Option: 8kai
  3991.     {
  3992. *Ifdef: USE_QUOTED_STRING
  3993.         *Name: "8K"
  3994. *Else:
  3995.         *rcNameID: =RC_STR_8K
  3996. *Endif:
  3997.         *PageDimensions: PAIR(12612, 18424)
  3998.         *switch: EdgeToEdgePrint
  3999.         {
  4000.             *case: OFF
  4001.             {
  4002.                 *switch: Orientation
  4003.                 {
  4004.                     *case: PORTRAIT
  4005.                     {
  4006.                         *PrintableArea: PAIR(12032, 18024)
  4007.                         *PrintableOrigin: PAIR(284, 200)
  4008.                         *CursorOrigin: PAIR(284, 200)
  4009.                         *Command: CmdSelect
  4010.                         {
  4011.                             *Order: DOC_SETUP.40
  4012.                             *Cmd: "<1B>&l2030a8c1E<1B>*p0x0Y<1B>*c0t"
  4013. +                                 %d{((12032*6+5)/10)}"x" %d{((18024*6+5)/10)}"Y"
  4014.                         }
  4015.                     }
  4016.                     *case: LANDSCAPE_CC90
  4017.                     {
  4018.                         *PrintableArea: PAIR(12212, 17952)
  4019.                         *PrintableOrigin: PAIR(200, 236)
  4020.                         *CursorOrigin: PAIR(200, 18188)
  4021.                         *Command: CmdSelect
  4022.                         {
  4023.                             *Order: DOC_SETUP.40
  4024.                             *Cmd: "<1B>&l2030a8c1E<1B>*p0x0Y<1B>*c0t"
  4025. +                                 %d{((17952*6+5)/10)}"x" %d{((12212*6+5)/10)}"Y"
  4026.                         }
  4027.                     }
  4028.                 }
  4029.             }
  4030.             *case: ON
  4031.             {
  4032.                 *switch: Orientation
  4033.                 {
  4034.                     *case: PORTRAIT
  4035.                     {
  4036.                         *PrintableArea: PAIR(12512, 18328)
  4037.                         *PrintableOrigin: PAIR(48, 48)
  4038.                         *CursorOrigin: PAIR(48, 248)
  4039.                         *Command: CmdSelect
  4040.                         {
  4041.                             *Order: DOC_SETUP.40
  4042.                             *Cmd: "<1B>&l2030a8c1E<1B>*p0x0Y<1B>*c0t"
  4043. +                                 %d{((12512*6+5)/10)}"x" %d{((18328*6+5)/10)}"Y"
  4044.                         }
  4045.                     }
  4046.                     *case: LANDSCAPE_CC90
  4047.                     {
  4048.                         *PrintableArea: PAIR(12516, 18304)
  4049.                         *PrintableOrigin: PAIR(48, 60)
  4050.                         *CursorOrigin: PAIR(248, 18364)
  4051.                         *Command: CmdSelect
  4052.                         {
  4053.                             *Order: DOC_SETUP.40
  4054.                             *Cmd: "<1B>&l2030a8c1E<1B>*p0x0Y<1B>*c0t"
  4055. +                                 %d{((18304*6+5)/10)}"x" %d{((12516*6+5)/10)}"Y"
  4056.                         }
  4057.                     }
  4058.                 }
  4059.             }
  4060.         }
  4061.     }
  4062.     *Option: 16kai
  4063.     {
  4064. *Ifdef: USE_QUOTED_STRING
  4065.         *Name: "16K"
  4066. *Else:
  4067.         *rcNameID: =RC_STR_16K
  4068. *Endif:
  4069.         *PageDimensions: PAIR(9212, 12612)
  4070.         *switch: EdgeToEdgePrint
  4071.         {
  4072.             *case: OFF
  4073.             {
  4074.                 *switch: Orientation
  4075.                 {
  4076.                     *case: PORTRAIT
  4077.                     {
  4078.                         *PrintableArea: PAIR(8640, 12212)
  4079.                         *PrintableOrigin: PAIR(284, 200)
  4080.                         *CursorOrigin: PAIR(284, 200)
  4081.                         *Command: CmdSelect
  4082.                         {
  4083.                             *Order: DOC_SETUP.40
  4084.                             *Cmd: "<1B>&l2031a8c1E<1B>*p0x0Y<1B>*c0t"
  4085. +                                 %d{((8640*6+5)/10)}"x" %d{((12212*6+5)/10)}"Y"
  4086.                         }
  4087.                     }
  4088.                     *case: LANDSCAPE_CC90
  4089.                     {
  4090.                         *PrintableArea: PAIR(8812, 12128)
  4091.                         *PrintableOrigin: PAIR(200, 248)
  4092.                         *CursorOrigin: PAIR(200, 12376)
  4093.                         *Command: CmdSelect
  4094.                         {
  4095.                             *Order: DOC_SETUP.40
  4096.                             *Cmd: "<1B>&l2031a8c1E<1B>*p0x0Y<1B>*c0t"
  4097. +                                 %d{((12128*6+5)/10)}"x" %d{((8812*6+5)/10)}"Y"
  4098.                         }
  4099.                     }
  4100.                 }
  4101.             }
  4102.             *case: ON
  4103.             {
  4104.                 *switch: Orientation
  4105.                 {
  4106.                     *case: PORTRAIT
  4107.                     {
  4108.                         *PrintableArea: PAIR(9088, 12516)
  4109.                         *PrintableOrigin: PAIR(60, 48)
  4110.                         *CursorOrigin: PAIR(60, 248)
  4111.                         *Command: CmdSelect
  4112.                         {
  4113.                             *Order: DOC_SETUP.40
  4114.                             *Cmd: "<1B>&l2031a8c1E<1B>*p0x0Y<1B>*c0t"
  4115. +                                 %d{((9088*6+5)/10)}"x" %d{((12516*6+5)/10)}"Y"
  4116.                         }
  4117.                     }
  4118.                     *case: LANDSCAPE_CC90
  4119.                     {
  4120.                         *PrintableArea: PAIR(9116, 12512)
  4121.                         *PrintableOrigin: PAIR(48, 52)
  4122.                         *CursorOrigin: PAIR(248, 12564)
  4123.                         *Command: CmdSelect
  4124.                         {
  4125.                             *Order: DOC_SETUP.40
  4126.                             *Cmd: "<1B>&l2031a8c1E<1B>*p0x0Y<1B>*c0t"
  4127. +                                 %d{((12512*6+5)/10)}"x" %d{((9116*6+5)/10)}"Y"
  4128.                         }
  4129.                     }
  4130.                 }
  4131.             }
  4132.         }
  4133.     }
  4134.     *Option: CUSTOMSIZE
  4135.     {
  4136.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  4137.         *MinSize: PAIR(4251, 6992)      *%%% (90mm, 148mm)
  4138.         *MaxSize: PAIR(14400, 20410)    *%%% (304.8mm, 432mm)
  4139.         *MaxPrintableWidth: 14400
  4140.         *switch: Orientation
  4141.         {
  4142.             *case: PORTRAIT
  4143.             {
  4144.                 *CustCursorOriginX: %d{300}
  4145.                 *CustCursorOriginY: %d{300}
  4146.                 *CustPrintableOriginX: %d{300}
  4147.                 *CustPrintableOriginY: %d{200}
  4148.                 *CustPrintableSizeX: %d{PhysPaperWidth-600}
  4149.                 *CustPrintableSizeY: %d{PhysPaperLength-400}
  4150.                 *Command: CmdSelect
  4151.                 {
  4152.                     *Order: DOC_SETUP.40
  4153.                     *Cmd: "<1B>&l101a4d1E<1B>*p0x0Y<1B>*c0t"
  4154. +                         %d{(((PhysPaperWidth-600)*6+5)/10)}"x"
  4155. +                         %d{(((PhysPaperLength-400)*6+5)/10)}"Y"
  4156.                 }
  4157.             }
  4158.             *case: LANDSCAPE_CC90
  4159.             {
  4160.                 *CustCursorOriginX: %d{300}
  4161.                 *CustCursorOriginY: %d{PhysPaperLength-236}
  4162.                 *CustPrintableOriginX: %d{200}
  4163.                 *CustPrintableOriginY: %d{236}
  4164.                 *CustPrintableSizeX: %d{PhysPaperWidth-400}
  4165.                 *CustPrintableSizeY: %d{PhysPaperLength-472}
  4166.                 *Command: CmdSelect
  4167.                 {
  4168.                     *Order: DOC_SETUP.40
  4169.                     *Cmd: "<1B>&l101a4d1E<1B>*p0x0Y<1B>*c0t"
  4170. +                         %d{(((PhysPaperLength-472)*6+5)/10)}"x"
  4171. +                         %d{(((PhysPaperWidth-400)*6+5)/10)}"Y"
  4172.                 }
  4173.             }
  4174.         }
  4175.     }
  4176. }
  4177.  
  4178. *%======== StartPage (PCL5e) ========
  4179. *Command: CmdStartPage
  4180. {
  4181.     *Order: PAGE_SETUP.10
  4182.     *Cmd: "<1B>*b0M<0D>"
  4183. }
  4184.  
  4185. *%======== EndJob (PCL5e) ========
  4186. *Command: CmdEndJob
  4187. {
  4188.     *Order: JOB_FINISH.10
  4189. *%  *Cmd: =PJL_ENDJOB
  4190.     *CallbackID: =CMD_ENDJOB_P5
  4191. }
  4192.  
  4193. *%======== Cursor Control (PCL5e) ========
  4194. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2)}"X" }
  4195. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  4196. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2))}"X" }
  4197. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2)}"Y" }
  4198. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2)}"Y" }
  4199. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2)}"Y" }
  4200. *Command: CmdCR { *Cmd : "<0D>" }
  4201. *Command: CmdLF { *Cmd : "<0A>" }
  4202. *Command: CmdFF { *Cmd : "<0C>" }
  4203. *Command: CmdBackSpace { *Cmd : "<08>" }
  4204. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  4205. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  4206. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  4207. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  4208. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  4209.  
  4210. *%======== Font (PCL5e) ========
  4211. *MinFontID: 16534
  4212. *MaxFontID: 32768
  4213. *switch: Resolution
  4214. {
  4215.     *case: 600dpi
  4216.     {
  4217.         *FontFormat: HPPCL_OUTLINE
  4218.     }
  4219.     *case: 300dpi
  4220.     {
  4221.         *FontFormat: HPPCL_RES
  4222.     }
  4223. }
  4224. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  4225. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  4226. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  4227. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  4228. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  4229. *Command: CmdWhiteTextOn { *Cmd : "<1B>*v1o1T" }
  4230. *Command: CmdWhiteTextOff { *Cmd : "<1B>*v0o0T" }
  4231.  
  4232. *%======== Capabilities (PCL5e) ========
  4233. *EjectPageWithFF?: TRUE
  4234. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  4235. *XMoveUnit: 600
  4236. *YMoveUnit: 600
  4237. *OutputDataFormat: H_BYTE
  4238. *OptimizeLeftBound?: TRUE
  4239.  
  4240. *%======== Copies (PCL5e Only) ========
  4241. *switch: Collate
  4242. {
  4243.     *case: OFF
  4244.     {
  4245.         *Command: CmdCopies
  4246.         {
  4247.             *Order: DOC_SETUP.50
  4248. *%          *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  4249.             *CallbackID: =CMD_COPIES_P5
  4250.             *Params: LIST(NumOfCopies)
  4251.         }
  4252.     }
  4253.     *case: ON
  4254.     {
  4255.         *Command: CmdCopies
  4256.         {
  4257.             *Order: DOC_SETUP.50
  4258.             *Cmd: "<1B>&l1X"
  4259.         }
  4260.     }
  4261. }
  4262.  
  4263. *%======== Raster Data (PCL5e Only) ========
  4264. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  4265. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  4266. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  4267.  
  4268. *%======== RectFill (PCL5e Only) ========
  4269. *MinGrayFill: 1
  4270. *MaxGrayFill: 100
  4271. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2)}"A" }
  4272. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2)}"B" }
  4273. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage}"g2P" }
  4274. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  4275.  
  4276. *%======== Halftone (PCL5e Only) ========
  4277. *Feature: Halftone
  4278. {
  4279.     *rcNameID: =HALFTONING_DISPLAY
  4280.     *HelpIndex: =HLP_HALFTONING
  4281.     *DefaultOption: HT_PATSIZE_8x8_M
  4282.     *Option: HT_PATSIZE_6x6_M
  4283.     {
  4284.         *rcNameID: =RC_STR_DITHER_6X6
  4285.     }
  4286.     *Option: HT_PATSIZE_8x8_M
  4287.     {
  4288.         *rcNameID: =RC_STR_DITHER_8X8
  4289.     }
  4290.     *Option: HT_PATSIZE_10x10_M
  4291.     {
  4292.         *rcNameID: =RC_STR_DITHER_10X10
  4293.     }
  4294. *Ifdef: WINNT_50
  4295. *Ifdef: USE_NT51_INBOX_PLUGIN
  4296. *%%% Disabled on XP
  4297. *Else:  *%%% !USE_NT51_INBOX_PLUGIN
  4298.     *Option: HT_PAT_RICOH_16x16
  4299.     {
  4300. *Ifdef: USE_QUOTED_STRING
  4301.         *Name: "Light"
  4302. *Else:
  4303.         *rcNameID: =RC_STR_LIGHT
  4304. *Endif:
  4305.         *HTPatternSize: PAIR(16, 16)
  4306.         *HTNumPatterns: 1
  4307.         *HTCallbackID: =CMD_HT_ADP3
  4308.     }
  4309. *Endif: *%%% !USE_NT51_INBOX_PLUGIN
  4310. *Endif: *%%% WINNT_50
  4311. }
  4312.  
  4313. *Ifdef: WINNT_51
  4314. *Personality: =PERSONALITY_HPGL2
  4315. *%======== HP-GL/2 Graphics Mode (PCL5e Only) ========
  4316. *Feature: GraphicsMode
  4317. {
  4318.     *rcNameID: =GRAPHICSMODE_DISPLAY
  4319.     *HelpIndex: =HLP_GRAPHICSMODE
  4320.     *DefaultOption: HPGL2MODE
  4321.     *Option: HPGL2MODE
  4322.     {
  4323.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  4324.     }
  4325.     *Option: RASTERMODE
  4326.     {
  4327.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  4328.     }
  4329. }
  4330. *Endif: *%%% WINNT_51
  4331. *Endif: *%%% !RI_PCLXL
  4332.  
  4333.  
  4334. *%======== StartJob (Common) ========
  4335. *switch: InputBin
  4336. {
  4337.     *case: AUTO
  4338.     {
  4339.         *Command: CmdStartJob
  4340.         {
  4341.             *Order: =PJL_SETUP_10
  4342. *%          *Cmd: =PJL_STARTJOB "@PJL SET AUTOTRAYCHANGE=ON<0A>"
  4343.             *CallbackID: =CMD_STARTJOB_AUTOTRAYCHANGE_ON
  4344.         }
  4345.     }
  4346.     *default:
  4347.     {
  4348.         *Command: CmdStartJob
  4349.         {
  4350.             *Order: =PJL_SETUP_10
  4351. *%          *Cmd: =PJL_STARTJOB "@PJL SET AUTOTRAYCHANGE=OFF<0A>"
  4352.             *CallbackID: =CMD_STARTJOB_AUTOTRAYCHANGE_OFF
  4353.         }
  4354.     }
  4355. }
  4356.  
  4357. *%======== Font (Common) ========
  4358. *DefaultFont: =RC_FONT_COURIERR
  4359. *DeviceFonts: =ALL_DEVICEFONTS
  4360. *DefaultCTT: 0
  4361. *CharPosition: BASELINE
  4362. *TTFSEnabled?: TRUE
  4363.  
  4364. *%======== Capabilities (Common) ========
  4365. *RotateCoordinate?: TRUE
  4366. *RotateRaster?: TRUE
  4367. *RotateFont?: TRUE
  4368. *MemoryUsage: LIST(FONT)
  4369. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  4370. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  4371. *CursorYAfterSendBlockData: AUTO_INCREMENT
  4372. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  4373. *XMoveThreshold: 0
  4374. *YMoveThreshold: 0
  4375.  
  4376. *%======== Selection Constraints ========
  4377. *InvalidCombination: LIST(EdgeToEdgePrint.ON, PaperSize.CUSTOMSIZE)
  4378.  
  4379. *InvalidCombination: LIST(MediaType.Thick, Duplex.VERTICAL)
  4380. *InvalidCombination: LIST(MediaType.Thick, Duplex.HORIZONTAL)
  4381. *InvalidCombination: LIST(MediaType.TRANSPARENCY, Duplex.VERTICAL)
  4382. *InvalidCombination: LIST(MediaType.TRANSPARENCY, Duplex.HORIZONTAL)
  4383. *InvalidCombination: LIST(MediaType.Labels, Duplex.VERTICAL)
  4384. *InvalidCombination: LIST(MediaType.Labels, Duplex.HORIZONTAL)
  4385.  
  4386. *InvalidCombination: LIST(InputBin.AUTO, MediaType.Thick)
  4387. *InvalidCombination: LIST(InputBin.AUTO, MediaType.TRANSPARENCY)
  4388. *InvalidCombination: LIST(InputBin.AUTO, MediaType.Labels)
  4389. *InvalidCombination: LIST(InputBin.Tray1, MediaType.Thick)
  4390. *InvalidCombination: LIST(InputBin.Tray1, MediaType.TRANSPARENCY)
  4391. *InvalidCombination: LIST(InputBin.Tray1, MediaType.Labels)
  4392. *InvalidCombination: LIST(InputBin.Tray2, MediaType.Thick)
  4393. *InvalidCombination: LIST(InputBin.Tray2, MediaType.TRANSPARENCY)
  4394. *InvalidCombination: LIST(InputBin.Tray2, MediaType.Labels)
  4395. *InvalidCombination: LIST(InputBin.Tray3, MediaType.Thick)
  4396. *InvalidCombination: LIST(InputBin.Tray3, MediaType.TRANSPARENCY)
  4397. *InvalidCombination: LIST(InputBin.Tray3, MediaType.Labels)
  4398.  
  4399. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.STATEMENT)
  4400. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.A6)
  4401. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_10)
  4402. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_DL)
  4403. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_MONARCH)
  4404. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_C5)
  4405. *InvalidCombination: LIST(InputBin.Tray1, PaperSize.ENV_C6)
  4406. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.STATEMENT)
  4407. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.A6)
  4408. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_10)
  4409. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_DL)
  4410. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_MONARCH)
  4411. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_C5)
  4412. *InvalidCombination: LIST(InputBin.Tray2, PaperSize.ENV_C6)
  4413. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.STATEMENT)
  4414. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.A6)
  4415. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_10)
  4416. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_DL)
  4417. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_MONARCH)
  4418. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_C5)
  4419. *InvalidCombination: LIST(InputBin.Tray3, PaperSize.ENV_C6)
  4420.